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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 109.9 kB / 17.12 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 193.3 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002413/0.002413, allocations: 285 kB / 303.6 MB, free: 3.773 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.053/1.053, allocations: 180.9 MB / 0.5268 GB, free: 2.719 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002849/0.002849, allocations: 99.84 kB / 0.7259 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5366/0.5394, allocations: 94.15 MB / 0.8178 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07807/0.6175, allocations: 70.95 MB / 0.8871 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02949/0.647, allocations: 19 MB / 0.9057 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003182/0.6502, allocations: 95.59 kB / 0.9058 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.653, allocations: 0.8483 MB / 0.9066 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009316/0.6623, allocations: 3.002 MB / 0.9095 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004894/0.6672, allocations: 1.659 MB / 0.9112 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007155/0.6744, allocations: 4.046 MB / 0.9151 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.6767, allocations: 1.185 MB / 0.9163 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004893/0.6815, allocations: 1.833 MB / 0.9181 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002609/0.6842, allocations: 1.233 MB / 0.9193 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003566/0.6845, allocations: 176 kB / 0.9194 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003457/0.688, allocations: 1.443 MB / 0.9208 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004512/0.6884, allocations: 402.4 kB / 0.9212 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.6898, allocations: 0.9216 MB / 0.9221 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005702/0.6955, allocations: 3.107 MB / 0.9252 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6955, allocations: 0 / 0.9252 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6955, allocations: 4 kB / 0.9252 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.035e-05/0.6955, allocations: 0 / 0.9252 GB, free: 2.977 MB / 0.6544 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.003924/0.6995, allocations: 2.087 MB / 0.9272 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.6995, allocations: 12.03 kB / 0.9272 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.7019, allocations: 455.4 kB / 0.9276 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.7047, allocations: 1.564 MB / 0.9292 GB, free: 14.75 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.646e-05/0.7048, allocations: 82.03 kB / 0.9293 GB, free: 14.66 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.7049, allocations: 104 kB / 0.9294 GB, free: 14.56 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/0.7076, allocations: 1.309 MB / 0.9306 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.7077, allocations: 3.938 kB / 0.9306 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.7078, allocations: 48 kB / 0.9307 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.7078, allocations: 28 kB / 0.9307 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002812/0.7106, allocations: 1.093 MB / 0.9318 GB, free: 11.98 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.009794/0.7204, allocations: 7.518 MB / 0.9391 GB, free: 3.941 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003273/0.7237, allocations: 0.7775 MB / 0.9399 GB, free: 3.16 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006489/0.7243, allocations: 270 kB / 0.9401 GB, free: 2.895 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/0.7259, allocations: 1.718 MB / 0.9418 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.726, allocations: 35 kB / 0.9418 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of pre-optimization done (n=48): time 2.474e-06/0.726, allocations: 0 / 0.9418 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of matching and sorting (n=48): time 0.005357/0.7313, allocations: 1.351 MB / 0.9432 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.7314, allocations: 63.84 kB / 0.9432 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002894/0.7343, allocations: 1.549 MB / 0.9447 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.7344, allocations: 37.7 kB / 0.9448 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007295/0.7352, allocations: 0.6779 MB / 0.9454 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.7354, allocations: 178.5 kB / 0.9456 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/0.7357, allocations: 174.5 kB / 0.9458 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.7359, allocations: 333.9 kB / 0.9461 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.737, allocations: 365.8 kB / 0.9464 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.7384, allocations: 0.6507 MB / 0.9471 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/0.7404, allocations: 0.8867 MB / 0.9479 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.7404, allocations: 7.938 kB / 0.9479 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003369/0.7438, allocations: 1.198 MB / 0.9491 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.7438, allocations: 12.03 kB / 0.9491 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.7438, allocations: 8 kB / 0.9491 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000966/0.7448, allocations: 224.5 kB / 0.9494 GB, free: 8.734 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008067/0.7456, allocations: 187.8 kB / 0.9495 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.7466, allocations: 0.724 MB / 0.9502 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.7484, allocations: 219 kB / 0.9504 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.7485, allocations: 43.98 kB / 0.9505 GB, free: 7.543 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.0008646/0.7494, allocations: 362 kB / 0.9508 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.7497, allocations: 159 kB / 0.951 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.7524, allocations: 1.135 MB / 0.9521 GB, free: 5.871 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.7524, allocations: 12 kB / 0.9521 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.7524, allocations: 0 / 0.9521 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.7524, allocations: 3.984 kB / 0.9521 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005797/0.7582, allocations: 2.51 MB / 0.9546 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.7582, allocations: 0 / 0.9546 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.7586, allocations: 87.88 kB / 0.9546 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008188/0.7594, allocations: 216.8 kB / 0.9548 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/0.7595, allocations: 19.98 kB / 0.9549 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.7609, allocations: 0.7747 MB / 0.9556 GB, free: 2.145 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.7609, allocations: 3.984 kB / 0.9556 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003771/0.7647, allocations: 1.2 MB / 0.9568 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007098/0.7654, allocations: 367.7 kB / 0.9572 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.7656, allocations: 12 kB / 0.9572 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000899/0.7665, allocations: 67.92 kB / 0.9572 GB, free: 452 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.7666, allocations: 44.44 kB / 0.9573 GB, free: 408 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.369e-05/0.7666, allocations: 27.98 kB / 0.9573 GB, free: 380 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001924/0.7686, allocations: 1.086 MB / 0.9584 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.7686, allocations: 0 / 0.9584 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001404/0.77, allocations: 447.1 kB / 0.9588 GB, free: 14.85 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.00101/0.771, allocations: 486.4 kB / 0.9592 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002346/0.7733, allocations: 0.8174 MB / 0.96 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7733, allocations: 0 / 0.96 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.7747, allocations: 423.5 kB / 0.9604 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/0.7781, allocations: 0.7368 MB / 0.9612 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.7825, allocations: 2.325 MB / 0.9634 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008718/0.7834, allocations: 1.157 MB / 0.9646 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000396/0.7838, allocations: 123.4 kB / 0.9647 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of SimCode: time 8.92e-07/0.7838, allocations: 0 / 0.9647 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of Templates: time 0.04871/0.8325, allocations: 34.37 MB / 0.9983 GB, free: 6.621 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: 13.150739192962646] Failed to read output from testmodel.py, exit status != 0: 0.8408821339253336 0.853370434 0.154847336 Calling exit ...