Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.001584/0.001584, allocations: 78.27 kB / 19.01 MB, free: 2.863 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.001768/0.001768, allocations: 160 kB / 22.26 MB, free: 5.109 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.416/1.416, allocations: 177.2 MB / 202.6 MB, free: 9.273 MB / 190.1 MB " [Timeout remaining time 178] 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.002484/0.002484, allocations: 235 kB / 259.3 MB, free: 0.5898 MB / 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 1.063/1.063, allocations: 138.5 MB / 454.2 MB, free: 2.059 MB / 366.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.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [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.003019/0.003019, allocations: 95.86 kB / 0.6466 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4184, allocations: 95.35 MB / 0.7397 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0755/0.4939, allocations: 64.69 MB / 0.8029 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02608/0.52, allocations: 17.54 MB / 0.82 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.5222, allocations: 95.19 kB / 0.8201 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.5243, allocations: 0.8307 MB / 0.8209 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007829/0.5321, allocations: 3.041 MB / 0.8239 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004375/0.5365, allocations: 1.691 MB / 0.8255 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005974/0.5425, allocations: 4.066 MB / 0.8295 GB, free: 3 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.5444, allocations: 1.135 MB / 0.8306 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004855/0.5493, allocations: 2.488 MB / 0.833 GB, free: 15.34 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002248/0.5515, allocations: 1.171 MB / 0.8342 GB, free: 14.16 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002527/0.5518, allocations: 172 kB / 0.8343 GB, free: 13.99 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.5543, allocations: 1.162 MB / 0.8355 GB, free: 12.83 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004294/0.5547, allocations: 398.4 kB / 0.8359 GB, free: 12.44 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000891/0.5556, allocations: 0.7116 MB / 0.8365 GB, free: 11.72 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004264/0.5599, allocations: 3.095 MB / 0.8396 GB, free: 8.617 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.5599, allocations: 0 / 0.8396 GB, free: 8.617 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5599, allocations: 0 / 0.8396 GB, free: 8.617 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.6e-05/0.5599, allocations: 3.984 kB / 0.8396 GB, free: 8.613 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003727/0.5636, allocations: 2.011 MB / 0.8415 GB, free: 6.555 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5637, allocations: 13.34 kB / 0.8416 GB, free: 6.543 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/0.5661, allocations: 451.4 kB / 0.842 GB, free: 6.102 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/0.569, allocations: 1.515 MB / 0.8435 GB, free: 4.535 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.091e-05/0.5691, allocations: 78.03 kB / 0.8435 GB, free: 4.457 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.5693, allocations: 104 kB / 0.8436 GB, free: 4.355 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.5721, allocations: 1.41 MB / 0.845 GB, free: 2.812 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.5722, allocations: 11.88 kB / 0.845 GB, free: 2.801 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.5723, allocations: 44 kB / 0.8451 GB, free: 2.758 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.5723, allocations: 28 kB / 0.8451 GB, free: 2.73 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002959/0.5753, allocations: 1.097 MB / 0.8462 GB, free: 1.633 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008201/0.5835, allocations: 5.402 MB / 0.8514 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003377/0.5868, allocations: 0.7714 MB / 0.8522 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006942/0.5875, allocations: 262.2 kB / 0.8524 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005289/0.5881, allocations: 160.4 kB / 0.8526 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.5881, allocations: 43.06 kB / 0.8526 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.204e-06/0.5881, allocations: 0 / 0.8526 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.005064/0.5932, allocations: 1.246 MB / 0.8539 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.5932, allocations: 55.91 kB / 0.8539 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.5953, allocations: 1.22 MB / 0.8551 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.5953, allocations: 33.7 kB / 0.8551 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006492/0.596, allocations: 0.7071 MB / 0.8558 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.5962, allocations: 182.5 kB / 0.856 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003173/0.5965, allocations: 170.5 kB / 0.8562 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.5967, allocations: 333.9 kB / 0.8565 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.5978, allocations: 369.8 kB / 0.8568 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.5994, allocations: 0.9847 MB / 0.8578 GB, free: 5.297 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/0.6014, allocations: 0.8861 MB / 0.8587 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.6014, allocations: 4 kB / 0.8587 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003171/0.6046, allocations: 1.165 MB / 0.8598 GB, free: 3.125 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.6046, allocations: 12 kB / 0.8598 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.6046, allocations: 12.03 kB / 0.8598 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009002/0.6055, allocations: 216.6 kB / 0.86 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008218/0.6063, allocations: 195.7 kB / 0.8602 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.6073, allocations: 0.72 MB / 0.8609 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.6086, allocations: 175.4 kB / 0.8611 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.59e-05/0.6087, allocations: 47.97 kB / 0.8611 GB, free: 1.73 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005812/0.6093, allocations: 355.1 kB / 0.8615 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.6095, allocations: 123.2 kB / 0.8616 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/0.6121, allocations: 1.135 MB / 0.8627 GB, free: 108 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.6122, allocations: 8 kB / 0.8627 GB, free: 100 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6122, allocations: 4 kB / 0.8627 GB, free: 96 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.6122, allocations: 3.984 kB / 0.8627 GB, free: 92 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005343/0.6175, allocations: 2.188 MB / 0.8648 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.6175, allocations: 0 / 0.8648 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/0.6179, allocations: 91.81 kB / 0.8649 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007838/0.6187, allocations: 208.8 kB / 0.8651 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/0.6188, allocations: 19.98 kB / 0.8652 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.6202, allocations: 0.7709 MB / 0.8659 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6202, allocations: 0 / 0.8659 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003631/0.6239, allocations: 1.186 MB / 0.8671 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004823/0.6243, allocations: 254.8 kB / 0.8673 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.6245, allocations: 8 kB / 0.8673 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008101/0.6253, allocations: 71.86 kB / 0.8674 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-05/0.6254, allocations: 48.36 kB / 0.8674 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.158e-05/0.6254, allocations: 23.98 kB / 0.8674 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001548/0.627, allocations: 0.8471 MB / 0.8683 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.627, allocations: 0 / 0.8683 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001374/0.6284, allocations: 482.7 kB / 0.8687 GB, free: 9.789 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008166/0.6292, allocations: 464 kB / 0.8692 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002283/0.6315, allocations: 0.8286 MB / 0.87 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6315, allocations: 320 / 0.87 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.6329, allocations: 431 kB / 0.8704 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/0.6349, allocations: 480.3 kB / 0.8709 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.6391, allocations: 2.262 MB / 0.8731 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007023/0.6398, allocations: 0.5823 MB / 0.8736 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007796/0.6406, allocations: 228.7 kB / 0.8739 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.6409, allocations: 96.41 kB / 0.8739 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of SimCode: time 4.61e-07/0.6409, allocations: 4 kB / 0.874 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of Templates: time 0.04439/0.6853, allocations: 25.04 MB / 0.8984 GB, free: 11.84 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.955870248377323] Failed to read output from testmodel.py, exit status != 0: 0.6941125281155109 0.709470693 0.14625890900000002 Calling exit ...