Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_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.00108/0.00108, 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 1.009/1.009, allocations: 133.6 MB / 141.6 MB, free: 2.852 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.561/1.561, allocations: 221.5 MB / 395.4 MB, free: 10.81 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.0009034/0.0009033, allocations: 101.6 kB / 478.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.485e-05/2.487e-05, allocations: 4 kB / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4908/0.4909, allocations: 82.31 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9049/1.396, allocations: 398 MB / 1.023 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/1.396, allocations: 87.02 kB / 1.023 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.965/5.361, allocations: 1.057 GB / 2.08 GB, free: 38.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.403e-06/5.361, allocations: 3.062 kB / 2.08 GB, free: 38.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003967/5.361, allocations: 81.94 kB / 2.08 GB, free: 38.29 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01155/5.373, allocations: 3.189 MB / 2.083 GB, free: 35.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/5.373, allocations: 8.031 kB / 2.083 GB, free: 35.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/5.383, allocations: 1.322 MB / 2.084 GB, free: 33.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/5.393, allocations: 3.33 MB / 2.087 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/5.394, allocations: 164 kB / 2.087 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008158/5.395, allocations: 136 kB / 2.088 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004493/5.399, allocations: 2.028 MB / 2.09 GB, free: 27.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004/5.403, allocations: 2.497 MB / 2.092 GB, free: 25.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-05/5.403, allocations: 7.922 kB / 2.092 GB, free: 25.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002695/5.404, allocations: 11.95 kB / 2.092 GB, free: 25.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.384e-05/5.404, allocations: 68 kB / 2.092 GB, free: 25.22 MB / 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.0181/5.422, allocations: 12.8 MB / 2.105 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/5.423, allocations: 1.181 MB / 2.106 GB, free: 10.69 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007761/5.424, allocations: 0.6321 MB / 2.106 GB, free: 10.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/5.426, allocations: 1.777 MB / 2.108 GB, free: 7.891 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001579/5.427, allocations: 0.9611 MB / 2.109 GB, free: 6.828 MB / 0.698 GB Notification: Performance of pre-optimization done (n=122): time 4.548e-06/5.427, allocations: 0 / 2.109 GB, free: 6.828 MB / 0.698 GB Notification: Performance of matching and sorting (n=122): time 0.007468/5.435, allocations: 1.836 MB / 2.111 GB, free: 4.973 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000217/5.435, allocations: 0.9327 MB / 2.112 GB, free: 3.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/5.438, allocations: 1.856 MB / 2.114 GB, free: 1.945 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004699/5.439, allocations: 37.7 kB / 2.114 GB, free: 1.902 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/5.44, allocations: 1.394 MB / 2.115 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004522/5.44, allocations: 413.9 kB / 2.115 GB, free: 84 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/5.44, allocations: 0 / 2.115 GB, free: 84 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001874/5.441, allocations: 369.9 kB / 2.116 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/5.442, allocations: 0.6249 MB / 2.116 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/5.443, allocations: 1.22 MB / 2.117 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003888/5.447, allocations: 0.984 MB / 2.118 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/5.447, allocations: 4 kB / 2.118 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01565/5.463, allocations: 2.94 MB / 2.121 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002277/5.465, allocations: 4.945 MB / 2.126 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/5.465, allocations: 12 kB / 2.126 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/5.467, allocations: 0.7035 MB / 2.127 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/5.47, allocations: 499.1 kB / 2.127 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/5.473, allocations: 1.911 MB / 2.129 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005325/5.478, allocations: 461.9 kB / 2.13 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003594/5.478, allocations: 107.9 kB / 2.13 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/5.478, allocations: 4 kB / 2.13 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5705/6.049, allocations: 2.637 MB / 2.132 GB, free: 67.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.159e-05/6.049, allocations: 12.42 kB / 2.132 GB, free: 67.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002798/6.052, allocations: 0.7138 MB / 2.133 GB, free: 67.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004756/6.057, allocations: 488.9 kB / 2.133 GB, free: 67.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003768/6.06, allocations: 1.9 MB / 2.135 GB, free: 66.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007075/6.068, allocations: 372.1 kB / 2.136 GB, free: 66.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005669/6.068, allocations: 109.8 kB / 2.136 GB, free: 66.37 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 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007991/6.069, allocations: 157.2 kB / 2.136 GB, free: 66.27 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01131/6.08, allocations: 1.836 MB / 2.138 GB, free: 66.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/6.082, allocations: 246.9 kB / 2.138 GB, free: 66.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01904/6.101, allocations: 2.428 MB / 2.14 GB, free: 66.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-05/6.101, allocations: 14.78 kB / 2.14 GB, free: 66.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/6.101, allocations: 3.812 kB / 2.14 GB, free: 66.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01748/6.118, allocations: 2.265 MB / 2.143 GB, free: 65.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02491/6.143, allocations: 6.832 MB / 2.149 GB, free: 63.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.397e-05/6.143, allocations: 6.438 kB / 2.149 GB, free: 63.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002494/6.146, allocations: 291.8 kB / 2.15 GB, free: 63.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/6.148, allocations: 0.7017 MB / 2.15 GB, free: 63.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002138/6.148, allocations: 38.11 kB / 2.15 GB, free: 63.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003202/6.151, allocations: 1.898 MB / 2.152 GB, free: 62.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/6.151, allocations: 9.875 kB / 2.152 GB, free: 62.73 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009663/6.161, allocations: 3.406 MB / 2.155 GB, free: 61.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002434/6.164, allocations: 0.6323 MB / 2.156 GB, free: 61.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009404/6.165, allocations: 15.75 kB / 2.156 GB, free: 61.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005523/6.17, allocations: 266.1 kB / 2.156 GB, free: 61.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000301/6.17, allocations: 118.2 kB / 2.156 GB, free: 61.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002755/6.171, allocations: 67.42 kB / 2.157 GB, free: 61.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004154/6.175, allocations: 1.386 MB / 2.158 GB, free: 61.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/6.175, allocations: 0 / 2.158 GB, free: 61.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.009745/6.185, allocations: 1.826 MB / 2.16 GB, free: 61 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01579/6.201, allocations: 7.072 MB / 2.167 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007183/6.208, allocations: 2.635 MB / 2.169 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.069e-05/6.208, allocations: 7.359 kB / 2.169 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001796/6.21, allocations: 0.7661 MB / 2.17 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008511/6.218, allocations: 1.084 MB / 2.171 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/6.233, allocations: 4.303 MB / 2.175 GB, free: 56 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/6.234, allocations: 1.784 MB / 2.177 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005837/6.24, allocations: 0.7566 MB / 2.178 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/6.242, allocations: 1.095 MB / 2.179 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of SimCode: time 2.474e-06/6.242, allocations: 0 / 2.179 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1514/6.393, allocations: 87.33 MB / 2.264 GB, free: 50.29 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/6.394, allocations: 183.2 kB / 2.264 GB, free: 50.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.366/11.76, allocations: 0 / 2.264 GB, free: 50.1 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)