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.0006828/0.0006828, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008917/0.001574, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006898/0.0006898, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008855/0.001575, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.8666/0.8666, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07683/0.9434, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.001177/0.001177, allocations: 237.7 kB / 244.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009366/0.002114, allocations: 471.2 kB / 244.7 MB, free: 14.16 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.7893/0.7893, allocations: 138.7 MB / 384.1 MB, free: 472 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0725/0.8618, allocations: 42.4 MB / 426.5 MB, free: 5.934 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.202e-06/1.202e-06, allocations: 0 / 427.8 MB, free: 4.633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.605e-05, allocations: 6.312 kB / 427.8 MB, free: 4.625 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.2114/0.2114, allocations: 18.39 MB / 446.2 MB, free: 10.65 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.2227, allocations: 7.208 MB / 453.4 MB, free: 5.617 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.2241, allocations: 94.5 kB / 453.5 MB, free: 5.566 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007229/0.2248, allocations: 450.5 kB / 453.9 MB, free: 5.188 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002762/0.2276, allocations: 1.735 MB / 455.6 MB, free: 3.785 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.2301, allocations: 1.525 MB / 457.2 MB, free: 2.59 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003728/0.2338, allocations: 3.981 MB / 461.2 MB, free: 15.43 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/0.2354, allocations: 1.193 MB / 462.3 MB, free: 14.21 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002273/0.2377, allocations: 2.092 MB / 464.4 MB, free: 12.11 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.2389, allocations: 0.9521 MB / 465.4 MB, free: 11.16 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.2391, allocations: 172.5 kB / 465.6 MB, free: 10.99 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000997/0.2401, allocations: 0.6676 MB / 466.2 MB, free: 10.32 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.2403, allocations: 318.8 kB / 466.5 MB, free: 10.01 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004244/0.2407, allocations: 0.5118 MB / 467 MB, free: 9.5 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.2423, allocations: 1.518 MB / 468.6 MB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.2423, allocations: 0 / 468.6 MB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2423, allocations: 1.281 kB / 468.6 MB, free: 7.977 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.064e-05/0.2423, allocations: 0 / 468.6 MB, free: 7.977 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.002262/0.2446, allocations: 2.318 MB / 470.9 MB, free: 5.605 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2446, allocations: 13.66 kB / 470.9 MB, free: 5.594 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008761/0.2455, allocations: 400.4 kB / 471.3 MB, free: 5.211 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.2467, allocations: 0.9697 MB / 472.3 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/0.2468, allocations: 81.97 kB / 472.3 MB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.719e-05/0.2468, allocations: 105.4 kB / 472.4 MB, free: 4.012 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009486/0.2478, allocations: 0.9937 MB / 473.4 MB, free: 2.887 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.2478, allocations: 1.25 kB / 473.4 MB, free: 2.887 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.2479, allocations: 44 kB / 473.5 MB, free: 2.844 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.2479, allocations: 24 kB / 473.5 MB, free: 2.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004866/0.2484, allocations: 357.8 kB / 473.9 MB, free: 2.473 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.003541/0.2519, allocations: 4.265 MB / 478.1 MB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007377/0.2526, allocations: 410 kB / 478.5 MB, free: 13.69 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.2528, allocations: 94.34 kB / 478.6 MB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.2529, allocations: 67.08 kB / 478.7 MB, free: 13.53 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.2529, allocations: 43 kB / 478.7 MB, free: 13.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 1.693e-06/0.2529, allocations: 0 / 478.7 MB, free: 13.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=48): time 0.001174/0.2541, allocations: 0.5615 MB / 479.3 MB, free: 12.92 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.2541, allocations: 60.75 kB / 479.3 MB, free: 12.85 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000735/0.2548, allocations: 0.9502 MB / 480.3 MB, free: 11.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.2549, allocations: 37.7 kB / 480.3 MB, free: 11.85 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.2551, allocations: 0.5451 MB / 480.9 MB, free: 11.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.778e-05/0.2552, allocations: 178.5 kB / 481 MB, free: 11.12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.2554, allocations: 167.6 kB / 481.2 MB, free: 10.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.2555, allocations: 337.9 kB / 481.5 MB, free: 10.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.2556, allocations: 104 kB / 481.6 MB, free: 10.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004237/0.2561, allocations: 0.7176 MB / 482.4 MB, free: 9.598 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/0.2565, allocations: 489.8 kB / 482.8 MB, free: 9.023 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2565, allocations: 0 / 482.8 MB, free: 9.023 MB / 458.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005915/0.2571, allocations: 0.5036 MB / 483.3 MB, free: 8.516 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2571, allocations: 9.719 kB / 483.4 MB, free: 8.508 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.2571, allocations: 8 kB / 483.4 MB, free: 8.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.2575, allocations: 174 kB / 483.5 MB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.2579, allocations: 205.3 kB / 483.7 MB, free: 8.145 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003096/0.2582, allocations: 0.5867 MB / 484.3 MB, free: 7.535 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/0.2586, allocations: 135 kB / 484.4 MB, free: 7.406 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.2586, allocations: 39.97 kB / 484.5 MB, free: 7.367 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.0001856/0.2588, allocations: 168 kB / 484.7 MB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.2589, allocations: 83.91 kB / 484.7 MB, free: 7.113 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007602/0.2597, allocations: 0.6411 MB / 485.4 MB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.2597, allocations: 8 kB / 485.4 MB, free: 6.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2597, allocations: 1.031 kB / 485.4 MB, free: 6.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2597, allocations: 7.922 kB / 485.4 MB, free: 6.473 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.2613, allocations: 1.289 MB / 486.7 MB, free: 5.141 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.2613, allocations: 0 / 486.7 MB, free: 5.141 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.2614, allocations: 91.83 kB / 486.8 MB, free: 5.051 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.2617, allocations: 172.9 kB / 486.9 MB, free: 4.883 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003464/0.262, allocations: 158.6 kB / 487.1 MB, free: 4.742 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.262, allocations: 23.92 kB / 487.1 MB, free: 4.719 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003623/0.2624, allocations: 0.608 MB / 487.7 MB, free: 4.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2624, allocations: 3.984 kB / 487.7 MB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009803/0.2634, allocations: 0.6506 MB / 488.4 MB, free: 3.398 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/0.2634, allocations: 12 kB / 488.4 MB, free: 3.387 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.2637, allocations: 42.34 kB / 488.4 MB, free: 3.348 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.2638, allocations: 44.3 kB / 488.5 MB, free: 3.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.2638, allocations: 21.92 kB / 488.5 MB, free: 3.285 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004074/0.2642, allocations: 483.2 kB / 489 MB, free: 2.809 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2642, allocations: 0.5312 kB / 489 MB, free: 2.809 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006288/0.2648, allocations: 395 kB / 489.4 MB, free: 2.422 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.0003574/0.2652, allocations: 204.4 kB / 489.6 MB, free: 2.219 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000476/0.2657, allocations: 376.8 kB / 489.9 MB, free: 1.852 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.47e-05/0.2657, allocations: 24.44 kB / 489.9 MB, free: 1.828 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.266, allocations: 204 kB / 490.1 MB, free: 1.633 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.267, allocations: 0.5775 MB / 490.7 MB, free: 1.121 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006268/0.2733, allocations: 2.083 MB / 492.8 MB, free: 14.98 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.2734, allocations: 237.3 kB / 493 MB, free: 14.72 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005091/0.2739, allocations: 200.8 kB / 493.2 MB, free: 14.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006479/0.2746, allocations: 419 kB / 493.6 MB, free: 14.12 MB / 474.7 MB Notification: Performance of SimCode: time 9.41e-07/0.2746, allocations: 8 kB / 493.7 MB, free: 14.11 MB / 474.7 MB Notification: Performance of Templates: time 0.02748/0.3021, allocations: 24.56 MB / 0.5061 GB, free: 6.277 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.8732524877414107]