Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.001085/0.001085, allocations: 96.2 kB / 20.43 MB, free: 4.137 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.0009963/0.0009963, allocations: 165 kB / 23.79 MB, free: 0.7734 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 1.011/1.011, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.661/0.661, allocations: 115 MB / 375.7 MB, free: 7.598 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 3.422 kB / 481.5 MB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.147e-05, allocations: 4.562 kB / 481.5 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.01376/0.01378, allocations: 18.17 MB / 499.7 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.02486, allocations: 7.483 MB / 0.4953 GB, free: 10.59 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.02598, allocations: 92.12 kB / 0.4954 GB, free: 10.54 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009719/0.02695, allocations: 405.5 kB / 0.4957 GB, free: 10.32 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003149/0.0301, allocations: 1.496 MB / 0.4972 GB, free: 9.398 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.03326, allocations: 1.563 MB / 0.4987 GB, free: 8.562 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00325/0.03651, allocations: 3.159 MB / 0.5018 GB, free: 6.645 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009299/0.03744, allocations: 0.8933 MB / 0.5027 GB, free: 5.812 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.03919, allocations: 1.503 MB / 0.5042 GB, free: 4.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008899/0.04008, allocations: 0.7929 MB / 0.5049 GB, free: 3.949 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.0402, allocations: 116 kB / 0.505 GB, free: 3.836 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.04163, allocations: 0.9397 MB / 0.506 GB, free: 3.09 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.04187, allocations: 325.2 kB / 0.5063 GB, free: 2.816 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003955/0.04227, allocations: 496.1 kB / 0.5067 GB, free: 2.367 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.04402, allocations: 1.585 MB / 0.5083 GB, free: 1.039 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.04402, allocations: 0 / 0.5083 GB, free: 1.039 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.04402, allocations: 0 / 0.5083 GB, free: 1.039 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.04403, allocations: 0.9688 kB / 0.5083 GB, free: 1.039 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.001888/0.04592, allocations: 1.839 MB / 0.5101 GB, free: 15.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.04596, allocations: 12.03 kB / 0.5101 GB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009161/0.04688, allocations: 419 kB / 0.5105 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.04828, allocations: 1.242 MB / 0.5117 GB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.04832, allocations: 66 kB / 0.5118 GB, free: 13.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-05/0.04841, allocations: 90.78 kB / 0.5119 GB, free: 13.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009706/0.04938, allocations: 0.8402 MB / 0.5127 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.0494, allocations: 3.938 kB / 0.5127 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/0.04945, allocations: 36.53 kB / 0.5127 GB, free: 12.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.04947, allocations: 24.48 kB / 0.5127 GB, free: 12.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007456/0.05022, allocations: 369.5 kB / 0.5131 GB, free: 11.95 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.004153/0.05437, allocations: 4.387 MB / 0.5174 GB, free: 7.445 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.05575, allocations: 426.1 kB / 0.5178 GB, free: 7.012 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.05597, allocations: 123.6 kB / 0.5179 GB, free: 6.887 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.05611, allocations: 43.97 kB / 0.5179 GB, free: 6.844 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.05615, allocations: 45.34 kB / 0.518 GB, free: 6.789 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 2.185e-06/0.05615, allocations: 0 / 0.518 GB, free: 6.789 MB / 442.7 MB Notification: Performance of matching and sorting (n=43): time 0.003301/0.05945, allocations: 1.047 MB / 0.519 GB, free: 5.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.05948, allocations: 55.41 kB / 0.5191 GB, free: 5.664 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.06055, allocations: 0.9365 MB / 0.52 GB, free: 4.711 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.06059, allocations: 41.7 kB / 0.52 GB, free: 4.664 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/0.06101, allocations: 0.6201 MB / 0.5206 GB, free: 4.035 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.06111, allocations: 158.6 kB / 0.5208 GB, free: 3.879 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.06134, allocations: 176.2 kB / 0.5209 GB, free: 3.695 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.06148, allocations: 0.5004 MB / 0.5214 GB, free: 3.188 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.06173, allocations: 115.6 kB / 0.5215 GB, free: 3.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006558/0.06239, allocations: 0.9949 MB / 0.5225 GB, free: 1.762 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007242/0.06311, allocations: 0.6404 MB / 0.5231 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.06312, allocations: 0 / 0.5231 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001734/0.06485, allocations: 0.8004 MB / 0.5239 GB, free: 136 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.06488, allocations: 12 kB / 0.5239 GB, free: 124 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.06489, allocations: 8 kB / 0.5239 GB, free: 116 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006475/0.06554, allocations: 196 kB / 0.5241 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.06595, allocations: 147.7 kB / 0.5243 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006813/0.06663, allocations: 0.9507 MB / 0.5252 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000582/0.06721, allocations: 123.5 kB / 0.5253 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-05/0.06728, allocations: 43.98 kB / 0.5254 GB, free: 14.63 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003875/0.06767, allocations: 244.8 kB / 0.5256 GB, free: 14.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00064/0.06831, allocations: 0.9988 MB / 0.5266 GB, free: 13.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006744/0.06898, allocations: 0.643 MB / 0.5272 GB, free: 12.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/0.06899, allocations: 0 / 0.5272 GB, free: 12.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00169/0.07068, allocations: 0.8042 MB / 0.528 GB, free: 11.44 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.07069, allocations: 12 kB / 0.528 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.0707, allocations: 8.562 kB / 0.528 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004273/0.07113, allocations: 171.5 kB / 0.5282 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.07152, allocations: 151.7 kB / 0.5283 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006218/0.07214, allocations: 0.9482 MB / 0.5292 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005803/0.07272, allocations: 99.61 kB / 0.5293 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/0.07278, allocations: 40 kB / 0.5294 GB, free: 9.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (74): * Single equations (assignments): 73 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.07296, allocations: 331.8 kB / 0.5297 GB, free: 9.648 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.07312, allocations: 119.4 kB / 0.5298 GB, free: 9.531 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.07459, allocations: 0.6549 MB / 0.5304 GB, free: 8.859 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.0746, allocations: 4 kB / 0.5304 GB, free: 8.855 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.07461, allocations: 3.938 kB / 0.5304 GB, free: 8.852 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.07461, allocations: 3.984 kB / 0.5304 GB, free: 8.848 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.077, allocations: 1.486 MB / 0.5319 GB, free: 7.285 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.077, allocations: 0 / 0.5319 GB, free: 7.285 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.07717, allocations: 59.91 kB / 0.532 GB, free: 7.227 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003976/0.07757, allocations: 171.8 kB / 0.5321 GB, free: 7.055 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.0776, allocations: 11.98 kB / 0.5321 GB, free: 7.043 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006056/0.07821, allocations: 0.9589 MB / 0.5331 GB, free: 6.055 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.07821, allocations: 7.984 kB / 0.5331 GB, free: 6.047 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.07957, allocations: 0.7998 MB / 0.5339 GB, free: 5.188 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.07985, allocations: 179.1 kB / 0.534 GB, free: 5.012 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-05/0.07994, allocations: 15.98 kB / 0.534 GB, free: 4.996 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.08032, allocations: 39.97 kB / 0.5341 GB, free: 4.957 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.0804, allocations: 39.88 kB / 0.5341 GB, free: 4.918 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.08044, allocations: 27.92 kB / 0.5341 GB, free: 4.891 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006501/0.08109, allocations: 0.5706 MB / 0.5347 GB, free: 4.312 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.08109, allocations: 0 / 0.5347 GB, free: 4.312 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001328/0.08242, allocations: 0.5768 MB / 0.5353 GB, free: 3.734 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004312/0.08285, allocations: 258.7 kB / 0.5355 GB, free: 3.469 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.0841, allocations: 0.6794 MB / 0.5362 GB, free: 2.793 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.08411, allocations: 0 / 0.5362 GB, free: 2.793 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.08444, allocations: 188 kB / 0.5364 GB, free: 2.602 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.08582, allocations: 437.2 kB / 0.5368 GB, free: 2.195 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.08917, allocations: 1.856 MB / 0.5386 GB, free: 264 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.08933, allocations: 201.2 kB / 0.5388 GB, free: 40 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005706/0.0899, allocations: 215.8 kB / 0.539 GB, free: 15.83 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.09005, allocations: 72.48 kB / 0.539 GB, free: 15.76 MB / 474.7 MB Notification: Performance of SimCode: time 8.61e-07/0.09005, allocations: 4 kB / 0.5391 GB, free: 15.75 MB / 474.7 MB Notification: Performance of Templates: time 0.0273/0.1173, allocations: 20.21 MB / 0.5588 GB, free: 12 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.233509608078748]