Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet") translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001063, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7508/0.7508, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.23 kB / 0.5018 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4548, allocations: 80.21 MB / 0.5801 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.09576/0.5506, allocations: 94.57 MB / 0.6724 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03759/0.5882, allocations: 25.37 MB / 0.6972 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006537/0.5948, allocations: 135.2 kB / 0.6974 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005595/0.6005, allocations: 1.728 MB / 0.699 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01214/0.6126, allocations: 4.001 MB / 0.7029 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.009209/0.6219, allocations: 3.519 MB / 0.7064 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01273/0.6346, allocations: 8.166 MB / 0.7144 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005983/0.6406, allocations: 2.865 MB / 0.7172 GB, free: 4.812 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009355/0.65, allocations: 3.205 MB / 0.7203 GB, free: 1.605 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005768/0.6558, allocations: 2.291 MB / 0.7225 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001636/0.6574, allocations: 308 kB / 0.7228 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007211/0.6647, allocations: 2.399 MB / 0.7252 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001891/0.6666, allocations: 1.047 MB / 0.7262 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004699/0.6713, allocations: 1.935 MB / 0.7281 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.6838, allocations: 5.905 MB / 0.7338 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.6839, allocations: 3.984 kB / 0.7338 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.365e-06/0.6839, allocations: 0 / 0.7338 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002425/0.6841, allocations: 4 kB / 0.7338 GB, free: 3.676 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: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.01128/0.6954, allocations: 4.254 MB / 0.738 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.6955, allocations: 12.03 kB / 0.738 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004396/0.6999, allocations: 0.7646 MB / 0.7388 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007603/0.7075, allocations: 2.88 MB / 0.7416 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007884/0.7083, allocations: 259.9 kB / 0.7418 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007226/0.7091, allocations: 192 kB / 0.742 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006022/0.7151, allocations: 2.161 MB / 0.7441 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.404e-05/0.7152, allocations: 7.938 kB / 0.7441 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003417/0.7156, allocations: 76 kB / 0.7442 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/0.7156, allocations: 44 kB / 0.7442 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004431/0.7201, allocations: 1.739 MB / 0.7459 GB, free: 7.078 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.01791/0.738, allocations: 9.954 MB / 0.7557 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/0.7404, allocations: 1.101 MB / 0.7567 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.7415, allocations: 0.5414 MB / 0.7573 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007207/0.7487, allocations: 4.53 MB / 0.7617 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.7488, allocations: 47.56 kB / 0.7617 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=93): time 2.204e-06/0.7488, allocations: 0 / 0.7617 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93): time 0.003475/0.7522, allocations: 1.477 MB / 0.7632 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/0.7523, allocations: 141.5 kB / 0.7633 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005151/0.7575, allocations: 3.721 MB / 0.7669 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.7576, allocations: 53.7 kB / 0.767 GB, free: 480 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.759, allocations: 1.629 MB / 0.7686 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003258/0.7594, allocations: 339.2 kB / 0.7689 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004752/0.7599, allocations: 351.2 kB / 0.7692 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.76, allocations: 301.1 kB / 0.7695 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.7613, allocations: 0.5708 MB / 0.7701 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/0.7631, allocations: 1.244 MB / 0.7713 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002699/0.7658, allocations: 1.684 MB / 0.7729 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.7658, allocations: 4 kB / 0.7729 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.00434/0.7702, allocations: 2.067 MB / 0.775 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.7702, allocations: 14.19 kB / 0.775 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.723e-05/0.7702, allocations: 20 kB / 0.775 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.804e-05/0.7703, allocations: 32 kB / 0.775 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.7717, allocations: 419.3 kB / 0.7754 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.925e-05/0.7717, allocations: 39.86 kB / 0.7755 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/0.7741, allocations: 331.1 kB / 0.7758 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.7743, allocations: 87.98 kB / 0.7759 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002451/0.7767, allocations: 1.207 MB / 0.777 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001778/0.7785, allocations: 1.236 MB / 0.7783 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002698/0.7812, allocations: 1.677 MB / 0.7799 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.815e-06/0.7812, allocations: 8 kB / 0.7799 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=209) (initialization_lambda0): time 0.004475/0.7857, allocations: 2.048 MB / 0.7819 GB, free: 8 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.7858, allocations: 15.98 kB / 0.7819 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.7858, allocations: 20 kB / 0.7819 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.7858, allocations: 28 kB / 0.782 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.7872, allocations: 423.9 kB / 0.7824 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.179e-05/0.7872, allocations: 39.86 kB / 0.7824 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.7898, allocations: 283.9 kB / 0.7827 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.7899, allocations: 87.98 kB / 0.7828 GB, free: 15.13 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 7 (heatPump.hysteresisTSetLimit.y,$PRE.heatPump.hysteresisTSetLimit.y,heatPump.on_security.y,heatPump.hysteresis1.y,$PRE.heatPump.hysteresis1.y,heatPump.hysteresis.y,$PRE.heatPump.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (207): * Single equations (assignments): 205 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004303/0.7904, allocations: 299.6 kB / 0.783 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005033/0.7909, allocations: 323.9 kB / 0.7833 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003518/0.7944, allocations: 1.75 MB / 0.7851 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/0.7944, allocations: 19.98 kB / 0.7851 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.7944, allocations: 0 / 0.7851 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001986/0.7964, allocations: 1.105 MB / 0.7862 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007177/0.8036, allocations: 3.976 MB / 0.79 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.8037, allocations: 8 kB / 0.79 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009068/0.8046, allocations: 223.8 kB / 0.7903 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/0.8046, allocations: 8 kB / 0.7903 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.966e-05/0.8047, allocations: 47.97 kB / 0.7903 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.8047, allocations: 11.94 kB / 0.7903 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.8047, allocations: 15.94 kB / 0.7903 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004096/0.8088, allocations: 2.311 MB / 0.7926 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/0.8102, allocations: 0.5746 MB / 0.7932 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000414/0.8107, allocations: 31.98 kB / 0.7932 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.8121, allocations: 119.8 kB / 0.7933 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.8124, allocations: 112.7 kB / 0.7934 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.944e-05/0.8125, allocations: 59.95 kB / 0.7935 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003954/0.8164, allocations: 2.566 MB / 0.796 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8164, allocations: 0 / 0.796 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004074/0.8205, allocations: 1.481 MB / 0.7974 GB, free: 15.85 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (heatPump.vol1.dynBal.U,heatPump.vol2.dynBal.U,TBrine_out.T,TWater_out.T) * Number of discrete variables: 4 (heatPump.hysteresis.y,heatPump.hysteresis1.y,heatPump.on_security.y,heatPump.hysteresisTSetLimit.y) * Number of discrete states: 3 (heatPump.hysteresis.y,heatPump.hysteresisTSetLimit.y,heatPump.hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002688/0.8232, allocations: 0.9671 MB / 0.7984 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008517/0.8318, allocations: 2.385 MB / 0.8007 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/0.8318, allocations: 4 kB / 0.8007 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/0.8337, allocations: 0.6794 MB / 0.8014 GB, free: 12 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008847/0.8426, allocations: 1.442 MB / 0.8028 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.8548, allocations: 5.702 MB / 0.8083 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002248/0.8571, allocations: 2.006 MB / 0.8103 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004755/0.8619, allocations: 0.7241 MB / 0.811 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007923/0.8627, allocations: 243.3 kB / 0.8112 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of SimCode: time 1.042e-06/0.8627, allocations: 0 / 0.8112 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of Templates: time 0.4286/1.291, allocations: 56.62 MB / 0.8665 GB, free: 174.2 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe 2>&1)