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.0009374/0.0009374, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001024/0.001024, allocations: 181 kB / 23.36 MB, free: 1.133 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.9761/0.9761, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.9208/0.9208, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.373e-06/1.373e-06, allocations: 0.6562 kB / 480 MB, free: 6.848 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.41e-05, allocations: 2.312 kB / 480 MB, free: 6.844 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01859/0.01861, allocations: 18.44 MB / 498.5 MB, free: 4.414 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.03001, allocations: 7.198 MB / 0.4938 GB, free: 13.27 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.0312, allocations: 96.31 kB / 0.4939 GB, free: 13.18 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007799/0.03198, allocations: 444.5 kB / 0.4943 GB, free: 12.74 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.03454, allocations: 1.736 MB / 0.496 GB, free: 11.01 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.03671, allocations: 1.568 MB / 0.4975 GB, free: 9.449 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003015/0.03972, allocations: 3.973 MB / 0.5014 GB, free: 5.465 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.04114, allocations: 1.207 MB / 0.5026 GB, free: 4.219 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.04293, allocations: 1.916 MB / 0.5045 GB, free: 2.309 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009901/0.04392, allocations: 0.9307 MB / 0.5054 GB, free: 1.375 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.04409, allocations: 169 kB / 0.5055 GB, free: 1.211 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009301/0.04502, allocations: 0.6708 MB / 0.5062 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.04527, allocations: 398.3 kB / 0.5066 GB, free: 152 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004782/0.04574, allocations: 0.5976 MB / 0.5072 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.0475, allocations: 1.643 MB / 0.5088 GB, free: 13.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.0475, allocations: 0 / 0.5088 GB, free: 13.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.04751, allocations: 1.594 kB / 0.5088 GB, free: 13.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.04752, allocations: 0 / 0.5088 GB, free: 13.9 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.002008/0.04953, allocations: 1.902 MB / 0.5106 GB, free: 11.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.04957, allocations: 8.031 kB / 0.5106 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009064/0.05048, allocations: 392.4 kB / 0.511 GB, free: 11.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.05168, allocations: 0.9865 MB / 0.512 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/0.05173, allocations: 78.03 kB / 0.512 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.066e-05/0.05183, allocations: 104.6 kB / 0.5121 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.05297, allocations: 0.9826 MB / 0.5131 GB, free: 9.254 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.05299, allocations: 3.938 kB / 0.5131 GB, free: 9.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.235e-05/0.05305, allocations: 44.62 kB / 0.5132 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.05308, allocations: 28 kB / 0.5132 GB, free: 9.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005332/0.05361, allocations: 353.8 kB / 0.5135 GB, free: 8.836 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.003818/0.05743, allocations: 4.247 MB / 0.5177 GB, free: 4.473 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007993/0.05823, allocations: 419 kB / 0.5181 GB, free: 4.059 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.05835, allocations: 89.16 kB / 0.5182 GB, free: 3.969 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.05849, allocations: 64.44 kB / 0.5182 GB, free: 3.906 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.05852, allocations: 43.06 kB / 0.5183 GB, free: 3.855 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 1.934e-06/0.05852, allocations: 6.969 kB / 0.5183 GB, free: 3.852 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.001305/0.05983, allocations: 0.5575 MB / 0.5188 GB, free: 3.301 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.05986, allocations: 59.91 kB / 0.5189 GB, free: 3.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007982/0.06066, allocations: 0.95 MB / 0.5198 GB, free: 2.273 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.0607, allocations: 37.7 kB / 0.5198 GB, free: 2.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.06096, allocations: 0.5451 MB / 0.5204 GB, free: 1.676 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.655e-05/0.06106, allocations: 178.5 kB / 0.5205 GB, free: 1.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.06124, allocations: 170.5 kB / 0.5207 GB, free: 1.328 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.06133, allocations: 339.3 kB / 0.521 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.06152, allocations: 100.7 kB / 0.5211 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.06196, allocations: 0.7135 MB / 0.5218 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.06238, allocations: 488.6 kB / 0.5223 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.06239, allocations: 4 kB / 0.5223 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006179/0.06301, allocations: 0.5069 MB / 0.5228 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.06302, allocations: 8.688 kB / 0.5228 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.06303, allocations: 8 kB / 0.5228 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004045/0.06344, allocations: 170.5 kB / 0.5229 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.0638, allocations: 185.2 kB / 0.5231 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003168/0.06411, allocations: 0.584 MB / 0.5237 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/0.06454, allocations: 132.7 kB / 0.5238 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.0646, allocations: 39.98 kB / 0.5239 GB, free: 13.76 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.0001911/0.06479, allocations: 168.3 kB / 0.524 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.692e-05/0.06489, allocations: 87.91 kB / 0.5241 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007743/0.06566, allocations: 0.6381 MB / 0.5247 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.06567, allocations: 10.19 kB / 0.5247 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.06568, allocations: 3.938 kB / 0.5247 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.06568, allocations: 4.703 kB / 0.5247 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.0673, allocations: 1.298 MB / 0.526 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.06731, allocations: 4.625 kB / 0.526 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.06748, allocations: 79.89 kB / 0.5261 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003392/0.06782, allocations: 162.9 kB / 0.5263 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.06785, allocations: 15.98 kB / 0.5263 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003878/0.06823, allocations: 0.6124 MB / 0.5269 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.06823, allocations: 0.9375 kB / 0.5269 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008344/0.06907, allocations: 0.6587 MB / 0.5275 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.06929, allocations: 168 kB / 0.5277 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.472e-05/0.06936, allocations: 12 kB / 0.5277 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.06964, allocations: 37.59 kB / 0.5277 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.0697, allocations: 45.52 kB / 0.5278 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.06973, allocations: 23.98 kB / 0.5278 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000395/0.07013, allocations: 474.7 kB / 0.5282 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.07013, allocations: 1.906 kB / 0.5282 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006178/0.07075, allocations: 399 kB / 0.5286 GB, free: 8.809 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.0002868/0.07103, allocations: 207.2 kB / 0.5288 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004957/0.07153, allocations: 368.1 kB / 0.5292 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.594e-05/0.07154, allocations: 12.5 kB / 0.5292 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000303/0.07185, allocations: 214 kB / 0.5294 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009848/0.07283, allocations: 495.2 kB / 0.5299 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.07518, allocations: 2.017 MB / 0.5318 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.07534, allocations: 237.3 kB / 0.532 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004278/0.07577, allocations: 205.1 kB / 0.5322 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006876/0.07646, allocations: 428.3 kB / 0.5327 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of SimCode: time 1.262e-06/0.07646, allocations: 0 / 0.5327 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of Templates: time 0.05569/0.1321, allocations: 23.48 MB / 0.5556 GB, free: 13.78 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.235483900643885]