Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 121.7 kB / 17.09 MB, free: 6 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.001602/0.001602, allocations: 192.7 kB / 18.02 MB, free: 5.082 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.43/1.43, allocations: 222.9 MB / 241.7 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.7343/0.7343, allocations: 115.3 MB / 407.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 66.34 kB / 0.5583 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1689, allocations: 76.18 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.07774/0.2467, allocations: 75.16 MB / 0.7061 GB, free: 9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02356/0.2703, allocations: 15.16 MB / 0.7209 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003731/0.2741, allocations: 67.62 kB / 0.721 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003204/0.2773, allocations: 0.8306 MB / 0.7218 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009374/0.2868, allocations: 2.585 MB / 0.7243 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004836/0.2916, allocations: 1.4 MB / 0.7257 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008002/0.2996, allocations: 4.393 MB / 0.73 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003015/0.3027, allocations: 1.453 MB / 0.7314 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004939/0.3077, allocations: 1.666 MB / 0.733 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/0.3104, allocations: 1.221 MB / 0.7342 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006553/0.3111, allocations: 164 kB / 0.7344 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004196/0.3153, allocations: 1.408 MB / 0.7358 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.3164, allocations: 390.6 kB / 0.7361 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003133/0.3196, allocations: 0.906 MB / 0.737 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007631/0.3272, allocations: 2.859 MB / 0.7398 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.3273, allocations: 4 kB / 0.7398 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3273, allocations: 0 / 0.7398 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.955e-05/0.3274, allocations: 4 kB / 0.7398 GB, free: 6.379 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005997/0.3334, allocations: 2.087 MB / 0.7419 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.3334, allocations: 8.031 kB / 0.7419 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.3346, allocations: 226.8 kB / 0.7421 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/0.338, allocations: 1.521 MB / 0.7436 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.218e-05/0.3381, allocations: 74 kB / 0.7436 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/0.3383, allocations: 104 kB / 0.7437 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.3408, allocations: 1.1 MB / 0.7448 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.3408, allocations: 3.938 kB / 0.7448 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.3409, allocations: 40 kB / 0.7449 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.341, allocations: 24 kB / 0.7449 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.3431, allocations: 0.8978 MB / 0.7458 GB, free: 148 kB / 0.5762 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.4288/0.7719, allocations: 4.886 MB / 0.7505 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.7734, allocations: 0.6134 MB / 0.7511 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007302/0.7742, allocations: 350.5 kB / 0.7515 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005065/0.7747, allocations: 0.8327 MB / 0.7523 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.7747, allocations: 42.31 kB / 0.7523 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.715e-06/0.7747, allocations: 0 / 0.7523 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007727/0.7825, allocations: 1.692 MB / 0.754 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.7825, allocations: 58.83 kB / 0.754 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/0.7851, allocations: 1.225 MB / 0.7552 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001564/0.7852, allocations: 47.11 kB / 0.7553 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007123/0.786, allocations: 0.6068 MB / 0.7559 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002908/0.7863, allocations: 215.1 kB / 0.7561 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003583/0.7866, allocations: 154.1 kB / 0.7562 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.7867, allocations: 332.6 kB / 0.7565 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007642/0.7875, allocations: 295.4 kB / 0.7568 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000953/0.7885, allocations: 499.2 kB / 0.7573 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.79, allocations: 0.7097 MB / 0.758 GB, free: 103.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.79, allocations: 2.5 kB / 0.758 GB, free: 103.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005614/0.7956, allocations: 1.275 MB / 0.7592 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.7956, allocations: 6.531 kB / 0.7592 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.7957, allocations: 4.422 kB / 0.7592 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007469/0.7964, allocations: 137.2 kB / 0.7594 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006851/0.7971, allocations: 159.6 kB / 0.7595 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.7982, allocations: 0.7063 MB / 0.7602 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.7997, allocations: 115.3 kB / 0.7603 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.7999, allocations: 37.22 kB / 0.7603 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001571/0.8014, allocations: 0.556 MB / 0.7609 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001039/0.8025, allocations: 495.9 kB / 0.7614 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001566/0.8041, allocations: 0.7061 MB / 0.7621 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.659e-06/0.8041, allocations: 1.625 kB / 0.7621 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005354/0.8094, allocations: 1.273 MB / 0.7633 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.8095, allocations: 8.688 kB / 0.7633 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.8095, allocations: 3.844 kB / 0.7633 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005989/0.8101, allocations: 136.8 kB / 0.7634 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.8107, allocations: 157 kB / 0.7636 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007344/0.8115, allocations: 0.702 MB / 0.7643 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.8127, allocations: 103.2 kB / 0.7644 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/0.8128, allocations: 33.84 kB / 0.7644 GB, free: 100.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003079/0.8131, allocations: 226.4 kB / 0.7646 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/0.8133, allocations: 131.5 kB / 0.7647 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004794/0.8181, allocations: 1.267 MB / 0.766 GB, free: 99.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.8182, allocations: 10.39 kB / 0.766 GB, free: 99.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.8182, allocations: 5.453 kB / 0.766 GB, free: 99.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004218/0.8224, allocations: 1.101 MB / 0.7671 GB, free: 98.85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006669/0.8291, allocations: 2.623 MB / 0.7696 GB, free: 97.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.8291, allocations: 3.5 kB / 0.7696 GB, free: 97.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/0.8296, allocations: 115.9 kB / 0.7697 GB, free: 97.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004551/0.83, allocations: 127.8 kB / 0.7699 GB, free: 96.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/0.8301, allocations: 21.17 kB / 0.7699 GB, free: 96.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004508/0.8346, allocations: 2.632 MB / 0.7725 GB, free: 94.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.8346, allocations: 8.031 kB / 0.7725 GB, free: 94.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00487/0.8395, allocations: 1.694 MB / 0.7741 GB, free: 93.72 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005428/0.84, allocations: 311.6 kB / 0.7744 GB, free: 93.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.8402, allocations: 11.97 kB / 0.7744 GB, free: 93.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007519/0.841, allocations: 60.16 kB / 0.7745 GB, free: 93.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.8411, allocations: 63.95 kB / 0.7746 GB, free: 93.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.8412, allocations: 27.77 kB / 0.7746 GB, free: 93.37 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00107/0.8422, allocations: 0.8844 MB / 0.7754 GB, free: 92.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8422, allocations: 0 / 0.7754 GB, free: 92.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00178/0.844, allocations: 0.7151 MB / 0.7761 GB, free: 92.75 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007445/0.8448, allocations: 465.6 kB / 0.7766 GB, free: 92.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002321/0.8471, allocations: 1.117 MB / 0.7777 GB, free: 92.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8471, allocations: 0 / 0.7777 GB, free: 92.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.8485, allocations: 0.565 MB / 0.7782 GB, free: 91.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/0.8517, allocations: 0.799 MB / 0.779 GB, free: 91.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.8549, allocations: 2.311 MB / 0.7813 GB, free: 88.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.8553, allocations: 1.172 MB / 0.7824 GB, free: 87.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.8556, allocations: 115.3 kB / 0.7825 GB, free: 87.37 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.8556, allocations: 0 / 0.7825 GB, free: 87.37 MB / 0.5762 GB Notification: Performance of Templates: time 0.0315/0.8871, allocations: 31.3 MB / 0.8131 GB, free: 56.27 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)