Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_HeatPump_WaterWaterTSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_HeatPump_WaterWaterTSet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00174/0.001739, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.002296/0.002295, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.366/2.366, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.72/1.72, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.0005036, allocations: 8 kB / 0.5069 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2735, allocations: 82.31 MB / 0.5873 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.6552/0.9288, allocations: 78.74 MB / 0.6642 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.06813/0.997, allocations: 22.01 MB / 0.6857 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008902/1.006, allocations: 104.9 kB / 0.6858 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01023/1.016, allocations: 1.447 MB / 0.6872 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03022/1.047, allocations: 4.084 MB / 0.6912 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.02196/1.069, allocations: 3.317 MB / 0.6944 GB, free: 0 / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02438/1.093, allocations: 4.826 MB / 0.6991 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/1.105, allocations: 2.143 MB / 0.7012 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01363/1.118, allocations: 2.245 MB / 0.7034 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007356/1.126, allocations: 1.511 MB / 0.7049 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001881/1.128, allocations: 115.9 kB / 0.705 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01399/1.142, allocations: 1.697 MB / 0.7066 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003906/1.146, allocations: 0.7866 MB / 0.7074 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003914/1.15, allocations: 0.7205 MB / 0.7081 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01523/1.165, allocations: 4.307 MB / 0.7123 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.165, allocations: 1.125 kB / 0.7123 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.928e-06/1.165, allocations: 0 / 0.7123 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003408/1.165, allocations: 0 / 0.7123 GB, free: 7.445 MB / 0.5294 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.01802/1.183, allocations: 3.648 MB / 0.7159 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.267e-05/1.184, allocations: 9.344 kB / 0.7159 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00163/1.185, allocations: 262.8 kB / 0.7161 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007265/1.192, allocations: 0.8146 MB / 0.7169 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01394/1.206, allocations: 2.758 MB / 0.7196 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001384/1.208, allocations: 280.2 kB / 0.7199 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/1.209, allocations: 198 kB / 0.7201 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/1.22, allocations: 2.166 MB / 0.7222 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001522/1.221, allocations: 2.656 kB / 0.7222 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001009/1.222, allocations: 75.75 kB / 0.7223 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.032e-05/1.222, allocations: 44.38 kB / 0.7223 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009843/1.232, allocations: 1.837 MB / 0.7241 GB, free: 15.78 MB / 0.545 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.03664/1.268, allocations: 10 MB / 0.7339 GB, free: 5.312 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006526/1.275, allocations: 1.243 MB / 0.7351 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01437/1.289, allocations: 4.222 MB / 0.7392 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.564e-05/1.289, allocations: 51.56 kB / 0.7393 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004022/1.294, allocations: 138.3 kB / 0.7394 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=99): time 1.23e-05/1.294, allocations: 0 / 0.7394 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=99): time 0.01093/1.305, allocations: 1.73 MB / 0.7411 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/1.305, allocations: 141.5 kB / 0.7412 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01621/1.321, allocations: 3.9 MB / 0.745 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006337/1.322, allocations: 57.64 kB / 0.7451 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003726/1.325, allocations: 1.561 MB / 0.7466 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008949/1.326, allocations: 355 kB / 0.747 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/1.327, allocations: 32 kB / 0.747 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002816/1.327, allocations: 361.9 kB / 0.7473 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00371/1.331, allocations: 0.6246 MB / 0.7479 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004288/1.335, allocations: 1.16 MB / 0.7491 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003864/1.339, allocations: 0.7285 MB / 0.7498 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-05/1.339, allocations: 4 kB / 0.7498 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01171/1.351, allocations: 2.086 MB / 0.7518 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.003792/1.355, allocations: 5.979 MB / 0.7577 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.59e-05/1.355, allocations: 15.94 kB / 0.7577 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.424e-05/1.355, allocations: 27.95 kB / 0.7577 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003868/1.359, allocations: 427.3 kB / 0.7581 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.302e-05/1.359, allocations: 35.92 kB / 0.7582 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00687/1.366, allocations: 308.8 kB / 0.7584 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007036/1.367, allocations: 87.95 kB / 0.7585 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/1.367, allocations: 4 kB / 0.7585 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008047/1.375, allocations: 1.643 MB / 0.7601 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.741e-05/1.375, allocations: 12.56 kB / 0.7601 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.823e-05/1.375, allocations: 28 kB / 0.7602 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003103/1.378, allocations: 399.4 kB / 0.7606 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.569e-05/1.378, allocations: 27.92 kB / 0.7606 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005958/1.384, allocations: 256.9 kB / 0.7608 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000645/1.385, allocations: 79.97 kB / 0.7609 GB, free: 8.477 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.heatPump.hysteresis.y,heatPump.hysteresis.y,$PRE.heatPump.hysteresis1.y,heatPump.hysteresis1.y,heatPump.on_security.y,$PRE.heatPump.hysteresisTSetLimit.y,heatPump.hysteresisTSetLimit.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 185 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003854/1.389, allocations: 0.8167 MB / 0.7617 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001873/1.391, allocations: 331.8 kB / 0.762 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009876/1.401, allocations: 2.013 MB / 0.764 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.231e-05/1.401, allocations: 19.98 kB / 0.764 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/1.401, allocations: 0 / 0.764 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005218/1.406, allocations: 1.244 MB / 0.7652 GB, free: 3.996 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 postOpt removeSimpleEquations (simulation): time 0.01968/1.426, allocations: 4.344 MB / 0.7695 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/1.426, allocations: 4.562 kB / 0.7695 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002244/1.428, allocations: 251.6 kB / 0.7697 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.139e-05/1.428, allocations: 12 kB / 0.7697 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001991/1.428, allocations: 31.97 kB / 0.7697 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-05/1.428, allocations: 12 kB / 0.7698 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/1.428, allocations: 7.938 kB / 0.7698 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/1.439, allocations: 2.958 MB / 0.7727 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003957/1.443, allocations: 0.6564 MB / 0.7733 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002127/1.446, allocations: 28 kB / 0.7733 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005453/1.451, allocations: 211.6 kB / 0.7735 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004793/1.452, allocations: 104.8 kB / 0.7736 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004099/1.452, allocations: 59.94 kB / 0.7737 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01149/1.464, allocations: 2.75 MB / 0.7764 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.352e-06/1.464, allocations: 0 / 0.7764 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01256/1.476, allocations: 1.466 MB / 0.7778 GB, free: 6.785 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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.hysteresis1.y,heatPump.hysteresis.y,heatPump.hysteresisTSetLimit.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01806/1.494, allocations: 5.276 MB / 0.783 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01152/1.506, allocations: 2.344 MB / 0.7852 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/1.506, allocations: 0 / 0.7852 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003316/1.509, allocations: 0.7017 MB / 0.7859 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01441/1.524, allocations: 1.535 MB / 0.7874 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03978/1.564, allocations: 18.19 MB / 0.8052 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007183/1.571, allocations: 2.064 MB / 0.8072 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0094/1.58, allocations: 0.7378 MB / 0.8079 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005607/1.586, allocations: 1.425 MB / 0.8093 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of SimCode: time 1.583e-06/1.586, allocations: 0 / 0.8093 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6869/2.273, allocations: 88.6 MB / 0.8958 GB, free: 208 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/2.273, allocations: 226.7 kB / 0.8961 GB, free: 207.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.414/10.69, allocations: 7.875 kB / 0.8961 GB, free: 207.7 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_HeatPump_WaterWaterTSet_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_HeatPump_WaterWaterTSet.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe 2>&1) Environment - environmentSimulation: