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.001285/0.001285, allocations: 80.75 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.001053/0.001053, 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.9473/0.9473, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.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-535:34: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-535:42: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.7262/0.7262, allocations: 154.9 MB / 415.1 MB, free: 256 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0.5469 kB / 480.3 MB, free: 6.551 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/3.012e-05, allocations: 5.906 kB / 480.4 MB, free: 6.547 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0204/0.02043, allocations: 18.37 MB / 498.7 MB, free: 4.176 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.03256, allocations: 7.189 MB / 0.4941 GB, free: 13.04 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0023/0.03486, allocations: 99.12 kB / 0.4942 GB, free: 12.94 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.03616, allocations: 437.4 kB / 0.4946 GB, free: 12.51 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004228/0.04039, allocations: 1.732 MB / 0.4963 GB, free: 10.78 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.04348, allocations: 1.594 MB / 0.4978 GB, free: 9.199 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.007863/0.05134, allocations: 3.984 MB / 0.5017 GB, free: 5.203 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004823/0.05616, allocations: 1.202 MB / 0.5029 GB, free: 3.965 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006422/0.06259, allocations: 1.997 MB / 0.5048 GB, free: 1.977 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.06415, allocations: 0.9307 MB / 0.5057 GB, free: 1.043 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003387/0.06754, allocations: 172.8 kB / 0.5059 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.06878, allocations: 0.6434 MB / 0.5065 GB, free: 236 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003537/0.06913, allocations: 407.3 kB / 0.5069 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007866/0.06992, allocations: 0.5884 MB / 0.5075 GB, free: 15.24 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005485/0.0754, allocations: 1.647 MB / 0.5091 GB, free: 13.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.07541, allocations: 1.219 kB / 0.5091 GB, free: 13.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.07541, allocations: 0 / 0.5091 GB, free: 13.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.062e-05/0.07544, allocations: 0 / 0.5091 GB, free: 13.59 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.01154/0.08698, allocations: 1.89 MB / 0.511 GB, free: 11.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.08701, allocations: 8.031 kB / 0.511 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.08809, allocations: 394.6 kB / 0.5113 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/0.09869, allocations: 0.9828 MB / 0.5123 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.735e-05/0.09876, allocations: 82.03 kB / 0.5124 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.09887, allocations: 105.3 kB / 0.5125 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.1001, allocations: 0.9863 MB / 0.5134 GB, free: 8.949 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.1001, allocations: 7.938 kB / 0.5134 GB, free: 8.941 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008641/0.1088, allocations: 40 kB / 0.5135 GB, free: 8.902 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.1088, allocations: 30.06 kB / 0.5135 GB, free: 8.875 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.1094, allocations: 356.5 kB / 0.5139 GB, free: 8.527 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.01111/0.1206, allocations: 4.25 MB / 0.518 GB, free: 4.156 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003965/0.1245, allocations: 414.8 kB / 0.5184 GB, free: 3.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.1247, allocations: 93.16 kB / 0.5185 GB, free: 3.656 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.1249, allocations: 64.45 kB / 0.5186 GB, free: 3.594 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.1249, allocations: 47.05 kB / 0.5186 GB, free: 3.535 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 2.916e-06/0.1249, allocations: 2.75 kB / 0.5186 GB, free: 3.535 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.001697/0.1266, allocations: 0.5539 MB / 0.5191 GB, free: 2.988 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.1266, allocations: 59.84 kB / 0.5192 GB, free: 2.918 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004206/0.1308, allocations: 0.9526 MB / 0.5201 GB, free: 1.957 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.378e-05/0.1309, allocations: 34.61 kB / 0.5202 GB, free: 1.918 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.1312, allocations: 0.5529 MB / 0.5207 GB, free: 1.355 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.1314, allocations: 179 kB / 0.5209 GB, free: 1.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.1316, allocations: 166.5 kB / 0.521 GB, free: 1.012 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1317, allocations: 340.4 kB / 0.5214 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.1319, allocations: 96.78 kB / 0.5214 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007494/0.1327, allocations: 0.7123 MB / 0.5221 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00352/0.1362, allocations: 491.9 kB / 0.5226 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/0.1362, allocations: 5.188 kB / 0.5226 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009128/0.1371, allocations: 0.5073 MB / 0.5231 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.1372, allocations: 12 kB / 0.5231 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.1372, allocations: 10.44 kB / 0.5231 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005422/0.1377, allocations: 162.5 kB / 0.5233 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.1382, allocations: 171.7 kB / 0.5235 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004009/0.1386, allocations: 0.5848 MB / 0.524 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007335/0.1393, allocations: 140 kB / 0.5242 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.651e-05/0.1394, allocations: 35.98 kB / 0.5242 GB, free: 13.45 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.0003342/0.1397, allocations: 168.3 kB / 0.5244 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.1398, allocations: 79.91 kB / 0.5244 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000993/0.1408, allocations: 0.6435 MB / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.1409, allocations: 12 kB / 0.5251 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1409, allocations: 7.922 kB / 0.5251 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.1409, allocations: 6.047 kB / 0.5251 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.1428, allocations: 1.287 MB / 0.5263 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.1428, allocations: 4 kB / 0.5263 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.143, allocations: 77.39 kB / 0.5264 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003768/0.1433, allocations: 159.4 kB / 0.5266 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.1434, allocations: 20.8 kB / 0.5266 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003966/0.1438, allocations: 0.6094 MB / 0.5272 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1438, allocations: 1.844 kB / 0.5272 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008756/0.1446, allocations: 0.6578 MB / 0.5278 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.1449, allocations: 161.5 kB / 0.528 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-05/0.145, allocations: 15.95 kB / 0.528 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.1453, allocations: 43.95 kB / 0.528 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.1453, allocations: 46.31 kB / 0.5281 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.1454, allocations: 19.98 kB / 0.5281 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007218/0.1461, allocations: 476.3 kB / 0.5286 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.11e-07/0.1461, allocations: 0 / 0.5286 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008855/0.147, allocations: 395 kB / 0.5289 GB, free: 8.52 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.0003536/0.1473, allocations: 204.8 kB / 0.5291 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005878/0.1479, allocations: 374.7 kB / 0.5295 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.962e-05/0.1479, allocations: 17.03 kB / 0.5295 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.1482, allocations: 209.6 kB / 0.5297 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.1492, allocations: 489.8 kB / 0.5302 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.1519, allocations: 2.019 MB / 0.5321 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.1521, allocations: 237.3 kB / 0.5324 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005217/0.1526, allocations: 201.4 kB / 0.5326 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000658/0.1533, allocations: 419 kB / 0.533 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/0.1533, allocations: 0 / 0.533 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of Templates: time 0.02866/0.1819, allocations: 23.48 MB / 0.5559 GB, free: 13.49 MB / 0.5261 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1982273841276765]