Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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_ScalingFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",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.001493/0.001492, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8035/0.8035, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009899/0.0009899, allocations: 100.6 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.319e-05/2.321e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4326, allocations: 82.31 MB / 0.6339 GB, free: 40.69 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8523/1.285, allocations: 397.5 MB / 1.022 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/1.285, allocations: 86.83 kB / 1.022 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.795/5.08, allocations: 1.057 GB / 2.079 GB, free: 13.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/5.08, allocations: 0 / 2.079 GB, free: 13.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004534/5.081, allocations: 81.94 kB / 2.079 GB, free: 12.94 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.008917/5.09, allocations: 3.181 MB / 2.082 GB, free: 9.668 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/5.09, allocations: 12.03 kB / 2.082 GB, free: 9.656 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009035/5.099, allocations: 1.21 MB / 2.083 GB, free: 8.441 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008887/5.108, allocations: 3.32 MB / 2.086 GB, free: 5.059 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003598/5.108, allocations: 163.9 kB / 2.087 GB, free: 4.883 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/5.109, allocations: 136 kB / 2.087 GB, free: 4.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005162/5.115, allocations: 1.961 MB / 2.089 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005228/5.12, allocations: 2.462 MB / 2.091 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.481e-05/5.12, allocations: 7.953 kB / 2.091 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/5.12, allocations: 4 kB / 2.091 GB, free: 120 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.716e-05/5.12, allocations: 75.92 kB / 2.091 GB, free: 44 kB / 0.698 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.02217/5.142, allocations: 12.62 MB / 2.104 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/5.144, allocations: 1.123 MB / 2.105 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009157/5.145, allocations: 0.593 MB / 2.105 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5082/5.653, allocations: 1.771 MB / 2.107 GB, free: 63.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002052/5.656, allocations: 0.9156 MB / 2.108 GB, free: 63.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 4.829e-06/5.656, allocations: 0 / 2.108 GB, free: 63.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118): time 0.008375/5.664, allocations: 1.832 MB / 2.11 GB, free: 63.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002498/5.664, allocations: 0.9326 MB / 2.111 GB, free: 61.92 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/5.668, allocations: 1.862 MB / 2.112 GB, free: 61.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002946/5.669, allocations: 31.95 kB / 2.112 GB, free: 61.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/5.67, allocations: 1.389 MB / 2.114 GB, free: 61.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/5.67, allocations: 395.2 kB / 2.114 GB, free: 61.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/5.67, allocations: 0.5312 kB / 2.114 GB, free: 61.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001109/5.67, allocations: 371.6 kB / 2.114 GB, free: 60.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/5.671, allocations: 0.5916 MB / 2.115 GB, free: 60.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/5.673, allocations: 1.186 MB / 2.116 GB, free: 60.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003527/5.676, allocations: 0.9671 MB / 2.117 GB, free: 60.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/5.676, allocations: 3.906 kB / 2.117 GB, free: 60.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006029/5.682, allocations: 2.275 MB / 2.119 GB, free: 59.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009575/5.683, allocations: 4.937 MB / 2.124 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/5.683, allocations: 11.88 kB / 2.124 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/5.684, allocations: 0.5317 MB / 2.125 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/5.687, allocations: 499.9 kB / 2.125 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/5.689, allocations: 1.784 MB / 2.127 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004896/5.694, allocations: 449.6 kB / 2.127 GB, free: 53.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/5.694, allocations: 109.3 kB / 2.127 GB, free: 53.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/5.694, allocations: 3.812 kB / 2.127 GB, free: 53.56 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005534/5.7, allocations: 1.99 MB / 2.129 GB, free: 53.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/5.7, allocations: 13.09 kB / 2.129 GB, free: 53.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/5.701, allocations: 0.533 MB / 2.13 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/5.703, allocations: 477 kB / 2.13 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/5.705, allocations: 1.783 MB / 2.132 GB, free: 52.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004218/5.709, allocations: 360.6 kB / 2.132 GB, free: 52.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002308/5.71, allocations: 106 kB / 2.133 GB, free: 52.41 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (170): * Single equations (assignments): 167 * 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 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0006362/5.71, allocations: 159.7 kB / 2.133 GB, free: 52.3 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007346/5.718, allocations: 1.842 MB / 2.135 GB, free: 52.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008596/5.719, allocations: 248.1 kB / 2.135 GB, free: 51.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006687/5.725, allocations: 1.845 MB / 2.137 GB, free: 51.85 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/5.725, allocations: 17.16 kB / 2.137 GB, free: 51.85 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/5.725, allocations: 7.75 kB / 2.137 GB, free: 51.85 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005518/5.731, allocations: 1.669 MB / 2.138 GB, free: 51.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01583/5.747, allocations: 6.245 MB / 2.144 GB, free: 49.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/5.747, allocations: 6.625 kB / 2.144 GB, free: 49.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/5.749, allocations: 295.2 kB / 2.145 GB, free: 49.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/5.75, allocations: 0.5179 MB / 2.145 GB, free: 49.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/5.75, allocations: 32.61 kB / 2.145 GB, free: 49.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/5.752, allocations: 1.771 MB / 2.147 GB, free: 48.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-05/5.752, allocations: 15.14 kB / 2.147 GB, free: 48.56 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008523/5.761, allocations: 3.296 MB / 2.15 GB, free: 47.31 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002263/5.763, allocations: 0.6198 MB / 2.151 GB, free: 47.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/5.764, allocations: 19.09 kB / 2.151 GB, free: 47.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003975/5.768, allocations: 249.4 kB / 2.151 GB, free: 47.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/5.769, allocations: 114.3 kB / 2.151 GB, free: 47.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002518/5.769, allocations: 77.38 kB / 2.151 GB, free: 47.08 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00363/5.773, allocations: 1.381 MB / 2.152 GB, free: 46.94 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/5.773, allocations: 3.516 kB / 2.152 GB, free: 46.94 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00911/5.782, allocations: 1.812 MB / 2.154 GB, free: 46.83 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * 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 (84): * Single equations (assignments): 78 * 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,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0114/5.793, allocations: 6.946 MB / 2.161 GB, free: 43.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004526/5.798, allocations: 2.552 MB / 2.164 GB, free: 43.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/5.798, allocations: 4.344 kB / 2.164 GB, free: 43.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/5.799, allocations: 0.7379 MB / 2.164 GB, free: 43.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00597/5.805, allocations: 1.08 MB / 2.165 GB, free: 43.06 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/5.82, allocations: 4.486 MB / 2.17 GB, free: 41.87 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001806/5.822, allocations: 1.77 MB / 2.171 GB, free: 41.13 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005235/5.827, allocations: 0.758 MB / 2.172 GB, free: 41.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/5.829, allocations: 1.095 MB / 2.173 GB, free: 41.1 MB / 0.7136 GB Notification: Performance of SimCode: time 1.343e-06/5.829, allocations: 0 / 2.173 GB, free: 41.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/5.966, allocations: 84.84 MB / 2.256 GB, free: 36.24 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/5.966, allocations: 188.6 kB / 2.256 GB, free: 36.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.478/11.44, allocations: 1.75 kB / 2.256 GB, free: 36.05 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)