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.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.0007212/0.0007212, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.001907, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007323/0.0007323, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009813/0.001714, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9243/0.9243, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09017/1.014, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] 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.001425/0.001425, allocations: 238.2 kB / 244.4 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001119/0.002545, allocations: 475.7 kB / 244.8 MB, free: 14.05 MB / 250.7 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 0.683/0.683, allocations: 138.7 MB / 384.3 MB, free: 340 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07195/0.7549, allocations: 42.4 MB / 426.7 MB, free: 5.812 MB / 410.7 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.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(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 1.442e-06/1.442e-06, allocations: 3.938 kB / 428.1 MB, free: 4.48 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.052e-05, allocations: 2.312 kB / 428.1 MB, free: 4.477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.1891/0.1891, allocations: 18.4 MB / 446.5 MB, free: 10.52 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009331/0.1985, allocations: 7.201 MB / 453.7 MB, free: 5.473 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.1995, allocations: 95 kB / 453.7 MB, free: 5.422 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.2002, allocations: 454.9 kB / 454.2 MB, free: 5.035 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.2027, allocations: 1.74 MB / 455.9 MB, free: 3.629 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.2048, allocations: 1.523 MB / 457.5 MB, free: 2.434 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003209/0.2081, allocations: 3.969 MB / 461.4 MB, free: 15.2 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.2096, allocations: 1.198 MB / 462.6 MB, free: 13.98 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.2115, allocations: 2.085 MB / 464.7 MB, free: 11.89 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008524/0.2123, allocations: 0.9574 MB / 465.7 MB, free: 10.93 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.2125, allocations: 172 kB / 465.8 MB, free: 10.77 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000839/0.2133, allocations: 0.6707 MB / 466.5 MB, free: 10.09 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.2135, allocations: 319.6 kB / 466.8 MB, free: 9.781 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003915/0.2139, allocations: 0.5107 MB / 467.3 MB, free: 9.27 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.2152, allocations: 1.517 MB / 468.8 MB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.2152, allocations: 0 / 468.8 MB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.2152, allocations: 0 / 468.8 MB, free: 7.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.2152, allocations: 0 / 468.8 MB, free: 7.75 MB / 442.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.001925/0.2172, allocations: 2.326 MB / 471.2 MB, free: 5.371 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.2172, allocations: 8.75 kB / 471.2 MB, free: 5.363 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007763/0.218, allocations: 395.9 kB / 471.6 MB, free: 4.984 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.219, allocations: 0.9743 MB / 472.5 MB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/0.2191, allocations: 78.03 kB / 472.6 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-05/0.2192, allocations: 112.8 kB / 472.7 MB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008797/0.22, allocations: 0.9776 MB / 473.7 MB, free: 2.668 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.2201, allocations: 4.562 kB / 473.7 MB, free: 2.664 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.764e-05/0.2201, allocations: 46.25 kB / 473.8 MB, free: 2.621 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.2201, allocations: 28 kB / 473.8 MB, free: 2.594 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.2206, allocations: 357.4 kB / 474.1 MB, free: 2.246 MB / 442.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.003088/0.2237, allocations: 4.255 MB / 478.4 MB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/0.2244, allocations: 417.8 kB / 478.8 MB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.2245, allocations: 99.25 kB / 478.9 MB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.2246, allocations: 68.45 kB / 479 MB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.2246, allocations: 36.06 kB / 479 MB, free: 13.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 1.663e-06/0.2246, allocations: 0 / 479 MB, free: 13.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=48): time 0.00114/0.2257, allocations: 0.5703 MB / 479.6 MB, free: 12.69 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.2258, allocations: 61.38 kB / 479.6 MB, free: 12.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007084/0.2265, allocations: 0.9418 MB / 480.6 MB, free: 11.67 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.2265, allocations: 37.7 kB / 480.6 MB, free: 11.63 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.2267, allocations: 0.5451 MB / 481.1 MB, free: 11.07 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.56e-05/0.2268, allocations: 175.8 kB / 481.3 MB, free: 10.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.227, allocations: 174.4 kB / 481.5 MB, free: 10.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.2271, allocations: 341.9 kB / 481.8 MB, free: 10.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.2272, allocations: 93.38 kB / 481.9 MB, free: 10.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.2276, allocations: 0.7142 MB / 482.6 MB, free: 9.383 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004166/0.228, allocations: 0.5055 MB / 483.1 MB, free: 8.773 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.228, allocations: 4 kB / 483.1 MB, free: 8.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000568/0.2286, allocations: 0.5164 MB / 483.7 MB, free: 8.254 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2286, allocations: 8 kB / 483.7 MB, free: 8.246 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2286, allocations: 8 kB / 483.7 MB, free: 8.238 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003818/0.229, allocations: 172 kB / 483.8 MB, free: 8.086 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.2294, allocations: 200.3 kB / 484 MB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003003/0.2297, allocations: 0.5858 MB / 484.6 MB, free: 7.281 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.2301, allocations: 135.2 kB / 484.7 MB, free: 7.152 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.2302, allocations: 35.98 kB / 484.8 MB, free: 7.117 MB / 458.7 MB 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.0001938/0.2304, allocations: 165.8 kB / 484.9 MB, free: 6.945 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.642e-05/0.2304, allocations: 91.83 kB / 485 MB, free: 6.855 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007262/0.2312, allocations: 0.6376 MB / 485.7 MB, free: 6.234 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.2312, allocations: 13.48 kB / 485.7 MB, free: 6.223 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.2312, allocations: 3.938 kB / 485.7 MB, free: 6.219 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2312, allocations: 0 / 485.7 MB, free: 6.219 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.2327, allocations: 1.289 MB / 487 MB, free: 4.891 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2327, allocations: 0.9688 kB / 487 MB, free: 4.891 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.2329, allocations: 91.88 kB / 487.1 MB, free: 4.801 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.2331, allocations: 168 kB / 487.2 MB, free: 4.637 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/0.2334, allocations: 170.3 kB / 487.4 MB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.2334, allocations: 19.98 kB / 487.4 MB, free: 4.465 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003492/0.2338, allocations: 0.6029 MB / 488 MB, free: 3.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2338, allocations: 7.375 kB / 488 MB, free: 3.836 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007646/0.2345, allocations: 0.6526 MB / 488.7 MB, free: 3.145 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/0.2346, allocations: 17.83 kB / 488.7 MB, free: 3.129 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.2349, allocations: 36.78 kB / 488.7 MB, free: 3.094 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.2349, allocations: 45.72 kB / 488.8 MB, free: 3.047 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.235, allocations: 26.36 kB / 488.8 MB, free: 3.023 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003735/0.2353, allocations: 470.4 kB / 489.3 MB, free: 2.559 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2353, allocations: 0 / 489.3 MB, free: 2.559 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005546/0.2359, allocations: 395 kB / 489.7 MB, free: 2.172 MB / 458.7 MB 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.0002695/0.2362, allocations: 212.4 kB / 489.9 MB, free: 1.961 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004687/0.2366, allocations: 387.1 kB / 490.2 MB, free: 1.586 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.36e-05/0.2367, allocations: 21.36 kB / 490.3 MB, free: 1.566 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.237, allocations: 265.6 kB / 490.5 MB, free: 1.312 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.2388, allocations: 3.564 MB / 494.1 MB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/0.2447, allocations: 2.071 MB / 496.2 MB, free: 11.03 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.2448, allocations: 228.5 kB / 496.4 MB, free: 10.78 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000451/0.2453, allocations: 200.2 kB / 496.6 MB, free: 10.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006296/0.2459, allocations: 410.7 kB / 497 MB, free: 10.2 MB / 474.7 MB Notification: Performance of SimCode: time 7.62e-07/0.2459, allocations: 0 / 497 MB, free: 10.2 MB / 474.7 MB Notification: Performance of Templates: time 0.02628/0.2722, allocations: 24.44 MB / 0.5092 GB, free: 2.461 MB / 490.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7617440158501267]