Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001409/0.001409, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001568/0.001568, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.899/0.899, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7682/0.7682, allocations: 154.6 MB / 414.8 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 480 MB, free: 6.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.164e-05, allocations: 5.125 kB / 480 MB, free: 6.914 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01736/0.01738, allocations: 18.39 MB / 498.4 MB, free: 4.523 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01081/0.02819, allocations: 7.19 MB / 0.4937 GB, free: 13.39 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.03034, allocations: 96.53 kB / 0.4938 GB, free: 13.29 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.03135, allocations: 444.5 kB / 0.4942 GB, free: 12.86 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003686/0.03503, allocations: 1.735 MB / 0.4959 GB, free: 11.12 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002758/0.03779, allocations: 1.594 MB / 0.4975 GB, free: 9.543 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.004296/0.04209, allocations: 3.981 MB / 0.5014 GB, free: 5.551 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.0438, allocations: 1.203 MB / 0.5025 GB, free: 4.301 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.04656, allocations: 1.989 MB / 0.5045 GB, free: 2.316 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.04789, allocations: 0.9299 MB / 0.5054 GB, free: 1.387 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002736/0.04817, allocations: 172 kB / 0.5056 GB, free: 1.219 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.04919, allocations: 0.6434 MB / 0.5062 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005189/0.04971, allocations: 406.4 kB / 0.5066 GB, free: 180 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006424/0.05035, allocations: 0.5886 MB / 0.5071 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.05224, allocations: 1.644 MB / 0.5088 GB, free: 13.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.05224, allocations: 0 / 0.5088 GB, free: 13.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.05224, allocations: 1.438 kB / 0.5088 GB, free: 13.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.551e-05/0.05228, allocations: 0 / 0.5088 GB, free: 13.93 MB / 490.7 MB 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.002168/0.05445, allocations: 1.898 MB / 0.5106 GB, free: 12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.05448, allocations: 11.97 kB / 0.5106 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008583/0.05534, allocations: 393.5 kB / 0.511 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.05656, allocations: 0.9752 MB / 0.5119 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/0.05661, allocations: 82.03 kB / 0.512 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.229e-05/0.0567, allocations: 104.7 kB / 0.5121 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009823/0.05769, allocations: 0.9909 MB / 0.5131 GB, free: 9.285 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.05771, allocations: 7.938 kB / 0.5131 GB, free: 9.277 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.788e-05/0.05776, allocations: 45.75 kB / 0.5131 GB, free: 9.234 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.05778, allocations: 24 kB / 0.5132 GB, free: 9.211 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005278/0.05831, allocations: 347.9 kB / 0.5135 GB, free: 8.871 MB / 490.7 MB 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.003868/0.06218, allocations: 4.257 MB / 0.5177 GB, free: 4.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007554/0.06293, allocations: 419.8 kB / 0.5181 GB, free: 4.086 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.06305, allocations: 94.08 kB / 0.5181 GB, free: 3.992 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.06319, allocations: 62.05 kB / 0.5182 GB, free: 3.934 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.06322, allocations: 39.06 kB / 0.5182 GB, free: 3.887 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 1.863e-06/0.06322, allocations: 0 / 0.5182 GB, free: 3.887 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.001208/0.06443, allocations: 0.5581 MB / 0.5188 GB, free: 3.336 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.06446, allocations: 55.91 kB / 0.5188 GB, free: 3.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007831/0.06524, allocations: 0.9506 MB / 0.5198 GB, free: 2.312 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.06528, allocations: 37.7 kB / 0.5198 GB, free: 2.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005341/0.06581, allocations: 0.5568 MB / 0.5203 GB, free: 1.703 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.128e-05/0.0659, allocations: 176.1 kB / 0.5205 GB, free: 1.531 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.06607, allocations: 162.5 kB / 0.5207 GB, free: 1.367 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.06615, allocations: 337.9 kB / 0.521 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.06633, allocations: 99.5 kB / 0.5211 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.06672, allocations: 0.72 MB / 0.5218 GB, free: 8 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.06713, allocations: 491.1 kB / 0.5223 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.06714, allocations: 4 kB / 0.5223 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006392/0.06778, allocations: 0.5088 MB / 0.5228 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.0678, allocations: 13.56 kB / 0.5228 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.06781, allocations: 8 kB / 0.5228 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004397/0.06825, allocations: 170.7 kB / 0.5229 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.06859, allocations: 167.7 kB / 0.5231 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003189/0.06891, allocations: 0.5855 MB / 0.5237 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/0.06942, allocations: 137.9 kB / 0.5238 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.06948, allocations: 37.58 kB / 0.5238 GB, free: 13.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (83): * Single equations (assignments): 82 * 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.0002405/0.06972, allocations: 160.4 kB / 0.524 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.873e-05/0.06982, allocations: 79.91 kB / 0.5241 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007762/0.07059, allocations: 0.6421 MB / 0.5247 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.07061, allocations: 18.23 kB / 0.5247 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.07061, allocations: 3.938 kB / 0.5247 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.07062, allocations: 0 / 0.5247 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.07231, allocations: 1.298 MB / 0.526 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.07232, allocations: 4 kB / 0.526 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.07248, allocations: 75.89 kB / 0.5261 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003451/0.07282, allocations: 156.2 kB / 0.5262 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.07285, allocations: 19.98 kB / 0.5262 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003779/0.07323, allocations: 0.6114 MB / 0.5268 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.07323, allocations: 8.547 kB / 0.5268 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.0743, allocations: 0.6542 MB / 0.5275 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.07455, allocations: 163 kB / 0.5276 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-05/0.07463, allocations: 15.98 kB / 0.5276 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.07491, allocations: 41.03 kB / 0.5277 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.07496, allocations: 40.36 kB / 0.5277 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.075, allocations: 19.98 kB / 0.5277 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004117/0.07541, allocations: 479.4 kB / 0.5282 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.07541, allocations: 0.75 kB / 0.5282 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00076/0.07617, allocations: 395 kB / 0.5286 GB, free: 8.863 MB / 0.4948 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.000373/0.07654, allocations: 216.2 kB / 0.5288 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005334/0.07707, allocations: 370.1 kB / 0.5291 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/0.07709, allocations: 16.5 kB / 0.5292 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.0774, allocations: 201.8 kB / 0.5293 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.0784, allocations: 495.4 kB / 0.5298 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.08088, allocations: 2.028 MB / 0.5318 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.08103, allocations: 237.3 kB / 0.532 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004815/0.08152, allocations: 190.1 kB / 0.5322 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006635/0.08218, allocations: 423.7 kB / 0.5326 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of SimCode: time 1.413e-06/0.08218, allocations: 0 / 0.5326 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of Templates: time 0.02854/0.1107, allocations: 23.47 MB / 0.5555 GB, free: 13.87 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9627291630022228]