Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0008129/0.0008129, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008268/0.0008268, allocations: 211.9 kB / 23.01 MB, free: 3.105 MB / 13.93 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 0.8535/0.8535, allocations: 230.6 MB / 256.8 MB, free: 3.438 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7224/0.7224, allocations: 203.8 MB / 0.5049 GB, free: 0.6719 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: IDEAS 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.0009772/0.0009772, allocations: 73.77 kB / 0.7195 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4502, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04804/0.4982, allocations: 72.06 MB / 0.8894 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01797/0.5162, allocations: 19.11 MB / 0.9081 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/0.5184, allocations: 99.56 kB / 0.9082 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.5201, allocations: 0.8485 MB / 0.909 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005517/0.5256, allocations: 3.053 MB / 0.912 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.5284, allocations: 1.746 MB / 0.9137 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003881/0.5323, allocations: 4.093 MB / 0.9177 GB, free: 14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.5334, allocations: 1.157 MB / 0.9188 GB, free: 12.8 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00287/0.5363, allocations: 1.985 MB / 0.9208 GB, free: 10.81 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.5374, allocations: 1.21 MB / 0.922 GB, free: 9.598 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.5375, allocations: 179.9 kB / 0.9221 GB, free: 9.422 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.5396, allocations: 1.486 MB / 0.9236 GB, free: 7.934 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.5398, allocations: 406.4 kB / 0.924 GB, free: 7.535 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006192/0.5405, allocations: 0.9177 MB / 0.9249 GB, free: 6.613 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002568/0.543, allocations: 3.16 MB / 0.928 GB, free: 3.445 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.543, allocations: 0 / 0.928 GB, free: 3.445 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.543, allocations: 0 / 0.928 GB, free: 3.445 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.343e-05/0.5431, allocations: 4 kB / 0.928 GB, free: 3.441 MB / 0.698 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.002257/0.5453, allocations: 2.015 MB / 0.9299 GB, free: 1.379 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.5454, allocations: 9.469 kB / 0.9299 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.5464, allocations: 455.4 kB / 0.9304 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.5482, allocations: 1.519 MB / 0.9319 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/0.5483, allocations: 82.03 kB / 0.9319 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.501e-05/0.5484, allocations: 100 kB / 0.932 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.55, allocations: 1.321 MB / 0.9333 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.55, allocations: 4 kB / 0.9333 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/0.55, allocations: 44 kB / 0.9334 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.5501, allocations: 28 kB / 0.9334 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.5516, allocations: 1.097 MB / 0.9345 GB, free: 12.57 MB / 0.7136 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.005504/0.5571, allocations: 7.401 MB / 0.9417 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.5586, allocations: 0.7676 MB / 0.9424 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.559, allocations: 262 kB / 0.9427 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/0.5592, allocations: 164.3 kB / 0.9428 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.5593, allocations: 39 kB / 0.9429 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 1.703e-06/0.5593, allocations: 0 / 0.9429 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.002345/0.5616, allocations: 1.271 MB / 0.9441 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.5616, allocations: 55.84 kB / 0.9442 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.5631, allocations: 1.554 MB / 0.9457 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.5632, allocations: 37.64 kB / 0.9457 GB, free: 496 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/0.5636, allocations: 0.6898 MB / 0.9464 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.885e-05/0.5637, allocations: 178.5 kB / 0.9466 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.5639, allocations: 174.5 kB / 0.9467 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.5639, allocations: 334 kB / 0.9471 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/0.5645, allocations: 361.8 kB / 0.9474 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/0.5651, allocations: 0.6582 MB / 0.948 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.5661, allocations: 0.8897 MB / 0.9489 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.5661, allocations: 3.938 kB / 0.9489 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00156/0.5677, allocations: 1.2 MB / 0.9501 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.5677, allocations: 8 kB / 0.9501 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.5677, allocations: 8 kB / 0.9501 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005522/0.5683, allocations: 216.6 kB / 0.9503 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.5687, allocations: 199.7 kB / 0.9505 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005541/0.5692, allocations: 0.7162 MB / 0.9512 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/0.5699, allocations: 227 kB / 0.9514 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.973e-05/0.57, allocations: 43.98 kB / 0.9515 GB, free: 10.32 MB / 0.7292 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.0003462/0.5703, allocations: 353.6 kB / 0.9518 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.5704, allocations: 155.1 kB / 0.9519 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.572, allocations: 1.155 MB / 0.9531 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.572, allocations: 15.98 kB / 0.9531 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.572, allocations: 0 / 0.9531 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.572, allocations: 7.922 kB / 0.9531 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.5748, allocations: 2.495 MB / 0.9555 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5748, allocations: 4 kB / 0.9555 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.575, allocations: 79.88 kB / 0.9556 GB, free: 6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004254/0.5754, allocations: 220.8 kB / 0.9558 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.5755, allocations: 8 kB / 0.9558 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006667/0.5761, allocations: 0.7786 MB / 0.9566 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5761, allocations: 7.938 kB / 0.9566 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.5778, allocations: 1.219 MB / 0.9578 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/0.5781, allocations: 286.5 kB / 0.9581 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/0.5782, allocations: 12 kB / 0.9581 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.5786, allocations: 75.91 kB / 0.9581 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.5787, allocations: 40.42 kB / 0.9582 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.5787, allocations: 27.98 kB / 0.9582 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001158/0.5799, allocations: 1.09 MB / 0.9593 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5799, allocations: 0 / 0.9593 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009095/0.5808, allocations: 451.1 kB / 0.9597 GB, free: 1.742 MB / 0.7292 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.0005784/0.5814, allocations: 464.4 kB / 0.9602 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.5825, allocations: 0.8326 MB / 0.961 GB, free: 468 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5826, allocations: 3.938 kB / 0.961 GB, free: 464 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006252/0.5832, allocations: 423.4 kB / 0.9614 GB, free: 44 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.5848, allocations: 0.7347 MB / 0.9621 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.5876, allocations: 2.343 MB / 0.9644 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/0.5881, allocations: 1.165 MB / 0.9655 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.5883, allocations: 119.4 kB / 0.9656 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.5883, allocations: 0 / 0.9656 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.03071/0.619, allocations: 34.42 MB / 0.9992 GB, free: 9.355 MB / 0.7761 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.699350314913318] Failed to read output from testmodel.py, exit status != 0: 0.6256289249286056 0.6340091400000001 0.089245009 Calling exit ...