Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 109.4 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 190.1 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6749/0.6749, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 61.89 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1289, allocations: 76.19 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05277/0.1817, allocations: 61.16 MB / 0.6918 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.1966, allocations: 12 MB / 0.7035 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/0.1991, allocations: 55.69 kB / 0.7036 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.2017, allocations: 0.683 MB / 0.7042 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005575/0.2073, allocations: 1.977 MB / 0.7062 GB, free: 8.254 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00293/0.2102, allocations: 1.198 MB / 0.7073 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003976/0.2142, allocations: 3.099 MB / 0.7104 GB, free: 3.953 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.2158, allocations: 1.116 MB / 0.7115 GB, free: 2.801 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002985/0.2188, allocations: 1.365 MB / 0.7128 GB, free: 1.434 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.2201, allocations: 0.9062 MB / 0.7137 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.2203, allocations: 120 kB / 0.7138 GB, free: 416 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.2231, allocations: 1.447 MB / 0.7152 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.2234, allocations: 302.8 kB / 0.7155 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007205/0.2241, allocations: 0.6958 MB / 0.7162 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003275/0.2274, allocations: 2.322 MB / 0.7184 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2274, allocations: 0 / 0.7184 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2274, allocations: 0 / 0.7184 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.2274, allocations: 0 / 0.7184 GB, free: 11.63 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002777/0.2302, allocations: 1.734 MB / 0.7201 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2302, allocations: 8.031 kB / 0.7201 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00238/0.2326, allocations: 458.8 kB / 0.7206 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.2346, allocations: 1.175 MB / 0.7217 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.494e-05/0.2347, allocations: 66 kB / 0.7218 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.2348, allocations: 80 kB / 0.7219 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.2368, allocations: 1.006 MB / 0.7228 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.2368, allocations: 8 kB / 0.7229 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.527e-05/0.2369, allocations: 35.98 kB / 0.7229 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.2369, allocations: 16 kB / 0.7229 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.2393, allocations: 0.9368 MB / 0.7238 GB, free: 5.973 MB / 0.5606 GB 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.005386/0.2447, allocations: 4.684 MB / 0.7284 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003869/0.2486, allocations: 0.9857 MB / 0.7294 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009948/0.2496, allocations: 411 kB / 0.7297 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009304/0.2506, allocations: 1.017 MB / 0.7307 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.2506, allocations: 39 kB / 0.7308 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.124e-06/0.2506, allocations: 4 kB / 0.7308 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.008842/0.2595, allocations: 2.158 MB / 0.7329 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.2595, allocations: 63.78 kB / 0.7329 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.2606, allocations: 0.9431 MB / 0.7339 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.321e-05/0.2607, allocations: 37.7 kB / 0.7339 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.2611, allocations: 0.5041 MB / 0.7344 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.2612, allocations: 185.3 kB / 0.7346 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.2614, allocations: 126.1 kB / 0.7347 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2616, allocations: 334 kB / 0.735 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009959/0.2626, allocations: 354.8 kB / 0.7354 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.2637, allocations: 0.5129 MB / 0.7359 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.2656, allocations: 0.7579 MB / 0.7366 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2657, allocations: 0 / 0.7366 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002764/0.2684, allocations: 1.064 MB / 0.7376 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2685, allocations: 4 kB / 0.7376 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2685, allocations: 4 kB / 0.7376 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.2697, allocations: 300.7 kB / 0.7379 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/0.2703, allocations: 131.8 kB / 0.7381 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.2716, allocations: 0.8983 MB / 0.7389 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009437/0.2726, allocations: 123.3 kB / 0.739 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.644e-05/0.2727, allocations: 27.98 kB / 0.7391 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001282/0.274, allocations: 0.5595 MB / 0.7396 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001106/0.2751, allocations: 0.5116 MB / 0.7401 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001895/0.277, allocations: 0.7463 MB / 0.7408 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.277, allocations: 0 / 0.7408 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00271/0.2797, allocations: 1.045 MB / 0.7419 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.2797, allocations: 4.312 kB / 0.7419 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2797, allocations: 8 kB / 0.7419 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009898/0.2807, allocations: 300.5 kB / 0.7422 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.2813, allocations: 131.8 kB / 0.7423 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.2827, allocations: 0.8941 MB / 0.7432 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009607/0.2837, allocations: 115.6 kB / 0.7433 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.2837, allocations: 27.98 kB / 0.7433 GB, free: 1.07 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.000208/0.2839, allocations: 212.1 kB / 0.7435 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.2841, allocations: 110.7 kB / 0.7436 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2716/0.5557, allocations: 1.305 MB / 0.7449 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/0.5557, allocations: 7 kB / 0.7449 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.5558, allocations: 2.375 kB / 0.7449 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.5558, allocations: 3.281 kB / 0.7449 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006423/0.5622, allocations: 2.399 MB / 0.7472 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.5622, allocations: 1.906 kB / 0.7472 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/0.5628, allocations: 105.1 kB / 0.7473 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009493/0.5638, allocations: 290.3 kB / 0.7476 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/0.5638, allocations: 14.67 kB / 0.7476 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.5651, allocations: 0.9317 MB / 0.7485 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5651, allocations: 1.156 kB / 0.7485 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004225/0.5694, allocations: 1.323 MB / 0.7498 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/0.5698, allocations: 280.4 kB / 0.7501 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.57, allocations: 16.53 kB / 0.7501 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008446/0.5708, allocations: 82.48 kB / 0.7502 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.83e-05/0.571, allocations: 42.36 kB / 0.7502 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/0.571, allocations: 24.03 kB / 0.7503 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009082/0.5719, allocations: 0.6672 MB / 0.7509 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5719, allocations: 0 / 0.7509 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001546/0.5735, allocations: 0.5689 MB / 0.7515 GB, free: 107.4 MB / 0.5762 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.000798/0.5743, allocations: 388.1 kB / 0.7518 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003555/0.5779, allocations: 1.301 MB / 0.7531 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.5779, allocations: 4.453 kB / 0.7531 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.5791, allocations: 456.5 kB / 0.7535 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.5813, allocations: 498.4 kB / 0.754 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004059/0.5854, allocations: 1.89 MB / 0.7559 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005964/0.586, allocations: 1.067 MB / 0.7569 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009559/0.587, allocations: 236.7 kB / 0.7571 GB, free: 105 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.5872, allocations: 81.8 kB / 0.7572 GB, free: 105 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.5872, allocations: 0 / 0.7572 GB, free: 105 MB / 0.5762 GB Notification: Performance of Templates: time 0.03042/0.6177, allocations: 24.87 MB / 0.7815 GB, free: 88.2 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)