Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7708/0.7708, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 221.3 MB / 400.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001053, allocations: 99.05 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.498e-05/3.501e-05, allocations: 2.906 kB / 0.5601 GB, free: 87.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1497, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.442/1.592, allocations: 398.3 MB / 1.029 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/1.593, allocations: 90.55 kB / 1.03 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.998/5.59, allocations: 1.063 GB / 2.093 GB, free: 59.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.453e-06/5.59, allocations: 0 / 2.093 GB, free: 59.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004776/5.591, allocations: 80.53 kB / 2.093 GB, free: 59.7 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01028/5.601, allocations: 3.218 MB / 2.096 GB, free: 58.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/5.601, allocations: 11.16 kB / 2.096 GB, free: 58.28 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001223/5.603, allocations: 324.6 kB / 2.096 GB, free: 58.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009542/5.612, allocations: 1.213 MB / 2.097 GB, free: 58.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009244/5.621, allocations: 3.321 MB / 2.101 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/5.622, allocations: 244 kB / 2.101 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009348/5.623, allocations: 236.3 kB / 2.101 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008065/5.631, allocations: 2.836 MB / 2.104 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001617/5.631, allocations: 6.094 kB / 2.104 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008627/5.632, allocations: 102.2 kB / 2.104 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001978/5.632, allocations: 100.2 kB / 2.104 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005157/5.637, allocations: 2.138 MB / 2.106 GB, free: 56.88 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.02119/5.658, allocations: 13.36 MB / 2.119 GB, free: 51.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/5.66, allocations: 1.184 MB / 2.12 GB, free: 50.87 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009045/5.661, allocations: 0.6087 MB / 2.121 GB, free: 50.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/5.663, allocations: 1.775 MB / 2.123 GB, free: 48.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001496/5.664, allocations: 0.9401 MB / 2.124 GB, free: 48.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 7.945e-06/5.664, allocations: 5.438 kB / 2.124 GB, free: 48.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.02086/5.685, allocations: 10.05 MB / 2.133 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002569/5.685, allocations: 0.9385 MB / 2.134 GB, free: 41.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003648/5.689, allocations: 2.344 MB / 2.137 GB, free: 41.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003541/5.689, allocations: 62.98 kB / 2.137 GB, free: 41.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001042/5.691, allocations: 1.363 MB / 2.138 GB, free: 40.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003923/5.691, allocations: 432.5 kB / 2.139 GB, free: 40.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/5.691, allocations: 36.34 kB / 2.139 GB, free: 40.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001078/5.691, allocations: 371.1 kB / 2.139 GB, free: 40.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/5.692, allocations: 0.6043 MB / 2.139 GB, free: 40.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/5.694, allocations: 1.237 MB / 2.141 GB, free: 39.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/5.695, allocations: 0.7544 MB / 2.141 GB, free: 39.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/5.695, allocations: 3.938 kB / 2.141 GB, free: 39.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004109/5.699, allocations: 2.314 MB / 2.144 GB, free: 39.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000936/5.7, allocations: 5.261 MB / 2.149 GB, free: 33.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/5.7, allocations: 10.59 kB / 2.149 GB, free: 33.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002633/5.703, allocations: 0.8731 MB / 2.15 GB, free: 33.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/5.705, allocations: 454.6 kB / 2.15 GB, free: 33.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/5.708, allocations: 2.168 MB / 2.152 GB, free: 32.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004941/5.713, allocations: 434.8 kB / 2.153 GB, free: 32.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/5.713, allocations: 102.4 kB / 2.153 GB, free: 32.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/5.713, allocations: 3.406 kB / 2.153 GB, free: 32.51 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003359/5.716, allocations: 2.029 MB / 2.155 GB, free: 32.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/5.716, allocations: 9.969 kB / 2.155 GB, free: 32.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/5.719, allocations: 0.8674 MB / 2.156 GB, free: 32.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/5.721, allocations: 442.5 kB / 2.156 GB, free: 32.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002707/5.724, allocations: 2.169 MB / 2.158 GB, free: 31.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00453/5.728, allocations: 367.5 kB / 2.158 GB, free: 31.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002566/5.729, allocations: 108.8 kB / 2.159 GB, free: 31.31 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 22,5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0005513/5.729, allocations: 223.3 kB / 2.159 GB, free: 31.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006884/5.73, allocations: 283.4 kB / 2.159 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/5.734, allocations: 1.719 MB / 2.161 GB, free: 30.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/5.734, allocations: 21.53 kB / 2.161 GB, free: 30.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/5.734, allocations: 5.312 kB / 2.161 GB, free: 30.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003004/5.737, allocations: 1.484 MB / 2.162 GB, free: 30.63 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/5.748, allocations: 6.282 MB / 2.168 GB, free: 28.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/5.748, allocations: 8.812 kB / 2.168 GB, free: 28.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/5.75, allocations: 276.3 kB / 2.169 GB, free: 28.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/5.752, allocations: 0.7248 MB / 2.169 GB, free: 28.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/5.752, allocations: 49.78 kB / 2.169 GB, free: 28.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/5.755, allocations: 1.943 MB / 2.171 GB, free: 27.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/5.755, allocations: 7.344 kB / 2.171 GB, free: 27.61 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00552/5.761, allocations: 3.259 MB / 2.174 GB, free: 26.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002357/5.763, allocations: 0.6586 MB / 2.175 GB, free: 25.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/5.764, allocations: 34.75 kB / 2.175 GB, free: 25.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004078/5.768, allocations: 282.4 kB / 2.175 GB, free: 25.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/5.769, allocations: 115.4 kB / 2.176 GB, free: 25.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002223/5.769, allocations: 70.86 kB / 2.176 GB, free: 25.94 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003866/5.773, allocations: 1.821 MB / 2.177 GB, free: 25.78 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/5.773, allocations: 3.969 kB / 2.177 GB, free: 25.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00808/5.781, allocations: 1.65 MB / 2.179 GB, free: 25.66 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.008591/5.79, allocations: 6.683 MB / 2.186 GB, free: 22.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006669/5.796, allocations: 2.966 MB / 2.188 GB, free: 21.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.735e-05/5.796, allocations: 6.844 kB / 2.188 GB, free: 21.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002135/5.798, allocations: 0.8764 MB / 2.189 GB, free: 21.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008156/5.807, allocations: 1.487 MB / 2.191 GB, free: 21.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/5.82, allocations: 4.575 MB / 2.195 GB, free: 20.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/5.822, allocations: 1.78 MB / 2.197 GB, free: 19.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005125/5.827, allocations: 0.8293 MB / 2.198 GB, free: 19.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/5.829, allocations: 1.124 MB / 2.199 GB, free: 19.64 MB / 0.7136 GB Notification: Performance of SimCode: time 1.253e-06/5.829, allocations: 0 / 2.199 GB, free: 19.64 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1928/6.021, allocations: 107.8 MB / 2.304 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/6.022, allocations: 232.2 kB / 2.304 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/12.92, allocations: 0 / 2.304 GB, free: 7.961 MB / 0.7448 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)