Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 79.75 kB / 19.76 MB, free: 2.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 156.3 kB / 23 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.34/1.34, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002317/0.002317, allocations: 242 kB / 260 MB, free: 428 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8832/0.8832, allocations: 138.5 MB / 455 MB, free: 15.06 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002883/0.002883, allocations: 103.8 kB / 0.6473 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4419, allocations: 95.34 MB / 0.7404 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00273/0.4447, allocations: 1.487 MB / 0.7419 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.4457, allocations: 0.5605 MB / 0.7424 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.4458, allocations: 1.125 kB / 0.7424 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.155e-05/0.4458, allocations: 9.344 kB / 0.7425 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.267e-05/0.4459, allocations: 10.06 kB / 0.7425 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007614/0.4467, allocations: 163.7 kB / 0.7426 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.558e-05/0.4468, allocations: 53.53 kB / 0.7427 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.4468, allocations: 7.828 kB / 0.7427 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.384e-05/0.4469, allocations: 21.03 kB / 0.7427 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.758e-05/0.4469, allocations: 24.84 kB / 0.7427 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.4469, allocations: 7.625 kB / 0.7427 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005098/0.4474, allocations: 271.5 kB / 0.743 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.4475, allocations: 16.83 kB / 0.743 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.4475, allocations: 19.08 kB / 0.743 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.4478, allocations: 168.2 kB / 0.7432 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4478, allocations: 0 / 0.7432 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.183e-06/0.4478, allocations: 1.719 kB / 0.7432 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.4478, allocations: 0.6562 kB / 0.7432 GB, free: 15.76 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005199/0.4483, allocations: 320 kB / 0.7435 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4484, allocations: 15.12 kB / 0.7435 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.4484, allocations: 12.98 kB / 0.7435 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.306e-05/0.4485, allocations: 118.5 kB / 0.7436 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.4485, allocations: 3.125 kB / 0.7436 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.4485, allocations: 10.3 kB / 0.7436 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.4488, allocations: 130.7 kB / 0.7438 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4488, allocations: 1.062 kB / 0.7438 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.4488, allocations: 5.125 kB / 0.7438 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4488, allocations: 1.188 kB / 0.7438 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.4491, allocations: 55 kB / 0.7438 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.4495, allocations: 263.2 kB / 0.7441 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.4498, allocations: 77.98 kB / 0.7442 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.4499, allocations: 31.52 kB / 0.7442 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.4499, allocations: 2.219 kB / 0.7442 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.4499, allocations: 32.89 kB / 0.7442 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.4499, allocations: 4 kB / 0.7442 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.001471/0.4514, allocations: 0.4906 MB / 0.7447 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/0.4514, allocations: 56.72 kB / 0.7448 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.133e-05/0.4515, allocations: 110.1 kB / 0.7449 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.4515, allocations: 27.08 kB / 0.7449 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.581e-05/0.4515, allocations: 90.77 kB / 0.745 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.4515, allocations: 40.53 kB / 0.745 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.4516, allocations: 28.78 kB / 0.745 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.218e-05/0.4516, allocations: 323.8 kB / 0.7453 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.4518, allocations: 31.97 kB / 0.7454 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.4519, allocations: 29.16 kB / 0.7454 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.4521, allocations: 75.23 kB / 0.7455 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4521, allocations: 0 / 0.7455 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002993/0.4524, allocations: 119.1 kB / 0.7456 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.4524, allocations: 5.375 kB / 0.7456 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4524, allocations: 1.594 kB / 0.7456 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4525, allocations: 8.969 kB / 0.7456 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.4526, allocations: 25.47 kB / 0.7456 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4526, allocations: 0.5156 kB / 0.7456 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.4527, allocations: 5.984 kB / 0.7456 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.4527, allocations: 15.09 kB / 0.7457 GB, free: 13.73 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/0.4527, allocations: 115.2 kB / 0.7458 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.4528, allocations: 6.438 kB / 0.7458 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.4531, allocations: 137.9 kB / 0.7459 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4531, allocations: 1 kB / 0.7459 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4531, allocations: 1.312 kB / 0.7459 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4532, allocations: 4.688 kB / 0.7459 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.4536, allocations: 321.4 kB / 0.7462 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4536, allocations: 4.922 kB / 0.7462 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.4538, allocations: 28.28 kB / 0.7462 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.4538, allocations: 2.203 kB / 0.7462 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.4538, allocations: 5.094 kB / 0.7463 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4538, allocations: 0.8438 kB / 0.7463 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4538, allocations: 5.094 kB / 0.7463 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.4542, allocations: 248.6 kB / 0.7465 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.4543, allocations: 5.938 kB / 0.7465 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.4543, allocations: 3.266 kB / 0.7465 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.4544, allocations: 10.39 kB / 0.7465 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.4544, allocations: 14.09 kB / 0.7465 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.4544, allocations: 2.953 kB / 0.7465 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.102e-05/0.4544, allocations: 80.58 kB / 0.7466 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4544, allocations: 0 / 0.7466 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002814/0.4547, allocations: 39.98 kB / 0.7466 GB, free: 12.98 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001811/0.4549, allocations: 137.8 kB / 0.7468 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.4552, allocations: 82.12 kB / 0.7469 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4552, allocations: 0 / 0.7469 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.4554, allocations: 40.69 kB / 0.7469 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.4557, allocations: 14.17 kB / 0.7469 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005886/0.4563, allocations: 320.8 kB / 0.7472 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.63e-05/0.4563, allocations: 82.36 kB / 0.7473 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.159e-05/0.4564, allocations: 9.891 kB / 0.7473 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.4564, allocations: 15.34 kB / 0.7473 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.4564, allocations: 0 / 0.7473 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.004389/0.4608, allocations: 1.144 MB / 0.7484 GB, free: 12.37 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5683803270803764] Failed to read output from testmodel.py, exit status != 0: 0.4684696769108996 0.479727544 0.029401745000000003 Calling exit ...