Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8211/0.8211, allocations: 141.8 MB / 149.3 MB, free: 4.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 182.4 kB / 182.2 MB, free: 112 kB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 221.5 MB / 436.4 MB, free: 9.219 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.0009025/0.0009025, allocations: 97.02 kB / 0.5074 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00184/0.00184, allocations: 274.7 kB / 0.5889 GB, free: 12.17 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.35e-05/2.351e-05, allocations: 4 kB / 0.6766 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/0.5554, allocations: 82.78 MB / 0.7575 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9568/1.512, allocations: 395.4 MB / 1.144 GB, free: 2.285 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/1.513, allocations: 89.36 kB / 1.144 GB, free: 2.242 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.996/5.508, allocations: 1.056 GB / 2.2 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.664e-06/5.508, allocations: 0 / 2.2 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002523/5.509, allocations: 77.72 kB / 2.2 GB, free: 58.12 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.006333/5.515, allocations: 3.194 MB / 2.203 GB, free: 55.85 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/5.515, allocations: 10.41 kB / 2.203 GB, free: 55.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009304/5.524, allocations: 1.317 MB / 2.205 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006295/5.531, allocations: 3.298 MB / 2.208 GB, free: 52.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/5.531, allocations: 167.9 kB / 2.208 GB, free: 52.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003821/5.531, allocations: 140.2 kB / 2.208 GB, free: 52.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003502/5.535, allocations: 2.016 MB / 2.21 GB, free: 51.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00384/5.539, allocations: 2.5 MB / 2.212 GB, free: 49.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-05/5.539, allocations: 7.938 kB / 2.212 GB, free: 49.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002531/5.539, allocations: 12 kB / 2.212 GB, free: 49.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/5.539, allocations: 64 kB / 2.213 GB, free: 49.63 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.01725/5.556, allocations: 12.82 MB / 2.225 GB, free: 36.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/5.558, allocations: 1.193 MB / 2.226 GB, free: 35.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007686/5.559, allocations: 0.6248 MB / 2.227 GB, free: 34.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/5.56, allocations: 1.772 MB / 2.229 GB, free: 32.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/5.561, allocations: 0.9718 MB / 2.23 GB, free: 31.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=122): time 3.376e-06/5.561, allocations: 0 / 2.23 GB, free: 31.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.006742/5.568, allocations: 1.832 MB / 2.231 GB, free: 29.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002158/5.568, allocations: 0.946 MB / 2.232 GB, free: 28.31 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/5.571, allocations: 1.844 MB / 2.234 GB, free: 26.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002858/5.571, allocations: 29.7 kB / 2.234 GB, free: 26.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009934/5.572, allocations: 1.381 MB / 2.235 GB, free: 25.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003695/5.572, allocations: 414 kB / 2.236 GB, free: 24.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/5.573, allocations: 4 kB / 2.236 GB, free: 24.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.24e-05/5.573, allocations: 369.9 kB / 2.236 GB, free: 24.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009204/5.574, allocations: 0.621 MB / 2.237 GB, free: 23.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/5.575, allocations: 1.224 MB / 2.238 GB, free: 22.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003439/5.578, allocations: 0.9836 MB / 2.239 GB, free: 21.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/5.578, allocations: 4 kB / 2.239 GB, free: 21.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01388/5.592, allocations: 2.936 MB / 2.242 GB, free: 18.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001133/5.593, allocations: 4.934 MB / 2.247 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/5.593, allocations: 12 kB / 2.247 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/5.595, allocations: 0.7132 MB / 2.247 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/5.598, allocations: 499.2 kB / 2.248 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/5.6, allocations: 1.903 MB / 2.25 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005224/5.605, allocations: 461.9 kB / 2.25 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003819/5.606, allocations: 107.9 kB / 2.25 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/5.606, allocations: 4 kB / 2.25 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01329/5.619, allocations: 2.644 MB / 2.253 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/5.619, allocations: 12 kB / 2.253 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/5.62, allocations: 0.7144 MB / 2.254 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/5.623, allocations: 490.8 kB / 2.254 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/5.625, allocations: 1.903 MB / 2.256 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004681/5.63, allocations: 374.5 kB / 2.256 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003102/5.63, allocations: 107.9 kB / 2.256 GB, free: 2.805 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.0005587/5.631, allocations: 160.4 kB / 2.256 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006555/5.637, allocations: 1.84 MB / 2.258 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006768/5.638, allocations: 249.1 kB / 2.258 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/5.652, allocations: 2.426 MB / 2.261 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/5.652, allocations: 19.98 kB / 2.261 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.118e-06/5.652, allocations: 4 kB / 2.261 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01262/5.664, allocations: 2.256 MB / 2.263 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02131/5.686, allocations: 6.847 MB / 2.27 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/5.686, allocations: 8 kB / 2.27 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/5.687, allocations: 292.1 kB / 2.27 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00154/5.689, allocations: 0.7029 MB / 2.271 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001672/5.689, allocations: 35.94 kB / 2.271 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/5.692, allocations: 1.892 MB / 2.273 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/5.692, allocations: 11.94 kB / 2.273 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4961/6.188, allocations: 3.394 MB / 2.276 GB, free: 76.44 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/6.19, allocations: 0.6314 MB / 2.277 GB, free: 76.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005114/6.19, allocations: 19.31 kB / 2.277 GB, free: 76.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003423/6.194, allocations: 269.8 kB / 2.277 GB, free: 76.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/6.194, allocations: 115.4 kB / 2.277 GB, free: 76.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001854/6.194, allocations: 71.47 kB / 2.277 GB, free: 76.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00267/6.197, allocations: 1.379 MB / 2.278 GB, free: 76.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.7e-07/6.197, allocations: 0 / 2.278 GB, free: 76.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00669/6.204, allocations: 1.82 MB / 2.28 GB, free: 76.07 MB / 0.7292 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.009116/6.213, allocations: 7.075 MB / 2.287 GB, free: 72.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004317/6.217, allocations: 2.635 MB / 2.29 GB, free: 72.35 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.525e-05/6.217, allocations: 4.344 kB / 2.29 GB, free: 72.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/6.218, allocations: 0.7715 MB / 2.29 GB, free: 72.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006365/6.225, allocations: 1.095 MB / 2.291 GB, free: 72.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/6.236, allocations: 4.291 MB / 2.296 GB, free: 71.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/6.237, allocations: 1.769 MB / 2.297 GB, free: 70.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003749/6.241, allocations: 0.7646 MB / 2.298 GB, free: 70.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/6.242, allocations: 1.094 MB / 2.299 GB, free: 70.38 MB / 0.7292 GB Notification: Performance of SimCode: time 8.42e-07/6.242, allocations: 0 / 2.299 GB, free: 70.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/6.375, allocations: 87.75 MB / 2.385 GB, free: 65.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/6.375, allocations: 208.2 kB / 2.385 GB, free: 65.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.372/11.75, allocations: 0 / 2.385 GB, free: 65.41 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)