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.001668/0.001669, allocations: 104 kB / 16.4 MB, free: 6.43 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.001866/0.001866, allocations: 189.2 kB / 17.34 MB, free: 5.727 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.455/1.455, 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.7773/0.7773, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 61.31 kB / 0.5685 GB, free: 28.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1457, allocations: 77.92 MB / 0.6446 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.071/0.2167, allocations: 75.16 MB / 0.7179 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0205/0.2372, allocations: 15.16 MB / 0.7328 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002336/0.2396, allocations: 67.62 kB / 0.7328 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002373/0.242, allocations: 0.8306 MB / 0.7336 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00717/0.2492, allocations: 2.589 MB / 0.7362 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.2528, allocations: 1.398 MB / 0.7375 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006755/0.2596, allocations: 4.406 MB / 0.7418 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002636/0.2623, allocations: 1.453 MB / 0.7432 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004279/0.2666, allocations: 1.633 MB / 0.7448 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.2688, allocations: 1.221 MB / 0.746 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.2691, allocations: 160 kB / 0.7462 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3392/0.6083, allocations: 1.404 MB / 0.7476 GB, free: 33.35 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006359/0.609, allocations: 395.7 kB / 0.7479 GB, free: 33.35 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.6105, allocations: 0.9072 MB / 0.7488 GB, free: 33.35 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005435/0.6159, allocations: 2.867 MB / 0.7516 GB, free: 33.17 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.616, allocations: 0 / 0.7516 GB, free: 33.17 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.624e-06/0.616, allocations: 0.625 kB / 0.7516 GB, free: 33.17 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.791e-05/0.616, allocations: 0 / 0.7516 GB, free: 33.17 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.004371/0.6204, allocations: 2.134 MB / 0.7537 GB, free: 32.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.6205, allocations: 9.562 kB / 0.7537 GB, free: 32.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009391/0.6214, allocations: 239.5 kB / 0.7539 GB, free: 31.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.6242, allocations: 1.537 MB / 0.7554 GB, free: 31.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/0.6243, allocations: 78.92 kB / 0.7555 GB, free: 31.56 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.6245, allocations: 104.3 kB / 0.7556 GB, free: 31.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.6267, allocations: 1.096 MB / 0.7567 GB, free: 31.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.6268, allocations: 1.031 kB / 0.7567 GB, free: 31.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.6269, allocations: 39.84 kB / 0.7567 GB, free: 31.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.128e-05/0.6269, allocations: 31.3 kB / 0.7568 GB, free: 31.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.629, allocations: 0.8899 MB / 0.7576 GB, free: 31.43 MB / 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.006047/0.6351, allocations: 4.908 MB / 0.7624 GB, free: 29.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.6364, allocations: 0.6145 MB / 0.763 GB, free: 29.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007191/0.6372, allocations: 346.3 kB / 0.7633 GB, free: 29.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004795/0.6377, allocations: 0.8295 MB / 0.7642 GB, free: 28.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.6377, allocations: 48.09 kB / 0.7642 GB, free: 28.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.224e-06/0.6377, allocations: 0.6875 kB / 0.7642 GB, free: 28.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007563/0.6453, allocations: 1.7 MB / 0.7659 GB, free: 27.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.6453, allocations: 57.91 kB / 0.7659 GB, free: 27.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.6475, allocations: 1.228 MB / 0.7671 GB, free: 27.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.6477, allocations: 40.27 kB / 0.7672 GB, free: 27.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.6481, allocations: 0.6105 MB / 0.7678 GB, free: 27.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.6483, allocations: 228.1 kB / 0.768 GB, free: 27.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.6485, allocations: 156.7 kB / 0.7681 GB, free: 27.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.6486, allocations: 335.3 kB / 0.7684 GB, free: 27.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006743/0.6493, allocations: 286.3 kB / 0.7687 GB, free: 27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007865/0.6501, allocations: 0.4986 MB / 0.7692 GB, free: 26.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.6514, allocations: 0.707 MB / 0.7699 GB, free: 26.63 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6514, allocations: 1.094 kB / 0.7699 GB, free: 26.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004569/0.656, allocations: 1.278 MB / 0.7711 GB, free: 26.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.6561, allocations: 15.75 kB / 0.7712 GB, free: 26.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.6561, allocations: 4.125 kB / 0.7712 GB, free: 26.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005476/0.6566, allocations: 135.8 kB / 0.7713 GB, free: 26.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005964/0.6572, allocations: 159.5 kB / 0.7714 GB, free: 26.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007003/0.6579, allocations: 0.7004 MB / 0.7721 GB, free: 25.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.6592, allocations: 121.7 kB / 0.7722 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.953e-05/0.6593, allocations: 35.38 kB / 0.7723 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00107/0.6604, allocations: 0.5501 MB / 0.7728 GB, free: 25.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007419/0.6611, allocations: 0.4922 MB / 0.7733 GB, free: 25.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001279/0.6624, allocations: 0.7047 MB / 0.774 GB, free: 25.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.6624, allocations: 1.25 kB / 0.774 GB, free: 25.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00464/0.6671, allocations: 1.275 MB / 0.7752 GB, free: 25.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6671, allocations: 6.188 kB / 0.7752 GB, free: 25.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6671, allocations: 4.031 kB / 0.7752 GB, free: 25.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005158/0.6676, allocations: 139.6 kB / 0.7754 GB, free: 25.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/0.6683, allocations: 158.8 kB / 0.7755 GB, free: 25.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007753/0.6691, allocations: 0.71 MB / 0.7762 GB, free: 24.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.6708, allocations: 95.42 kB / 0.7763 GB, free: 24.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.614e-05/0.6709, allocations: 34.64 kB / 0.7763 GB, free: 24.75 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.0004038/0.6713, allocations: 229.6 kB / 0.7766 GB, free: 24.56 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003603/0.6717, allocations: 143.6 kB / 0.7767 GB, free: 24.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004473/0.6762, allocations: 1.262 MB / 0.7779 GB, free: 24.37 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.6762, allocations: 6.25 kB / 0.7779 GB, free: 24.37 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6762, allocations: 1.156 kB / 0.7779 GB, free: 24.37 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00378/0.68, allocations: 1.104 MB / 0.779 GB, free: 24.17 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00618/0.6862, allocations: 2.633 MB / 0.7816 GB, free: 23.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.6863, allocations: 3.375 kB / 0.7816 GB, free: 23.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/0.6867, allocations: 109.6 kB / 0.7817 GB, free: 23.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004392/0.6872, allocations: 133.9 kB / 0.7818 GB, free: 23.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/0.6872, allocations: 20.02 kB / 0.7818 GB, free: 23.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00423/0.6914, allocations: 2.636 MB / 0.7844 GB, free: 22.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6915, allocations: 8.594 kB / 0.7844 GB, free: 22.03 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004913/0.6964, allocations: 1.702 MB / 0.7861 GB, free: 21.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007315/0.6971, allocations: 319.7 kB / 0.7864 GB, free: 21.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.6973, allocations: 19.81 kB / 0.7864 GB, free: 21.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007755/0.6981, allocations: 49.27 kB / 0.7865 GB, free: 21.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.6983, allocations: 62.06 kB / 0.7865 GB, free: 21.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.6983, allocations: 37.38 kB / 0.7865 GB, free: 21.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001148/0.6995, allocations: 0.8796 MB / 0.7874 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6995, allocations: 2.406 kB / 0.7874 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001948/0.7014, allocations: 0.7265 MB / 0.7881 GB, free: 21.24 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.0009079/0.7024, allocations: 460.1 kB / 0.7886 GB, free: 21.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002502/0.7049, allocations: 1.12 MB / 0.7897 GB, free: 21.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.7049, allocations: 4.188 kB / 0.7897 GB, free: 21.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.7062, allocations: 0.5638 MB / 0.7902 GB, free: 20.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00355/0.7098, allocations: 0.8024 MB / 0.791 GB, free: 20.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.7135, allocations: 2.314 MB / 0.7932 GB, free: 19.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.7141, allocations: 1.181 MB / 0.7944 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001206/0.7153, allocations: 309.4 kB / 0.7947 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.7156, allocations: 110.4 kB / 0.7948 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/0.7156, allocations: 0 / 0.7948 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of Templates: time 0.0468/0.7624, allocations: 32.37 MB / 0.8264 GB, free: 7.785 MB / 0.5919 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)