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.934/0.934, allocations: 143.3 MB / 158.3 MB, free: 5.777 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.001667/0.001667, allocations: 181 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 223.1 MB / 447.7 MB, free: 4.801 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.001045/0.001044, allocations: 92.33 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 270.4 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004319, allocations: 15.03 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1916, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.27/1.462, allocations: 396.1 MB / 1.161 GB, free: 266.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000341/1.462, allocations: 97.23 kB / 1.161 GB, free: 266.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.193/4.655, allocations: 1.065 GB / 2.225 GB, free: 25.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.306e-06/4.655, allocations: 0 / 2.225 GB, free: 25.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002983/4.655, allocations: 75.98 kB / 2.226 GB, free: 25 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.009228/4.664, allocations: 3.699 MB / 2.229 GB, free: 21.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/4.665, allocations: 8.031 kB / 2.229 GB, free: 21.19 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008527/4.665, allocations: 324.8 kB / 2.229 GB, free: 20.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009574/4.675, allocations: 1.322 MB / 2.231 GB, free: 19.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006431/4.681, allocations: 3.319 MB / 2.234 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001865/4.682, allocations: 251.9 kB / 2.234 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/4.682, allocations: 236 kB / 2.234 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006867/4.689, allocations: 3.201 MB / 2.238 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.743e-05/4.689, allocations: 15.78 kB / 2.238 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/4.689, allocations: 100 kB / 2.238 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.645e-05/4.689, allocations: 68.84 kB / 2.238 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008374/4.698, allocations: 2.878 MB / 2.241 GB, free: 9.188 MB / 0.7136 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.01822/4.716, allocations: 13.34 MB / 2.254 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004326/4.72, allocations: 1.6 MB / 2.255 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001831/4.722, allocations: 1.773 MB / 2.257 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003896/4.726, allocations: 1.28 MB / 2.258 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=122): time 3.717e-06/4.726, allocations: 0 / 2.258 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of matching and sorting (n=122): time 0.04165/4.768, allocations: 6.132 MB / 2.264 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004702/4.768, allocations: 0.9358 MB / 2.265 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004614/4.773, allocations: 2.324 MB / 2.267 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004469/4.773, allocations: 57.7 kB / 2.267 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001326/4.775, allocations: 1.365 MB / 2.269 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004986/4.775, allocations: 430 kB / 2.269 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/4.775, allocations: 36 kB / 2.269 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001659/4.775, allocations: 365.9 kB / 2.27 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003925/4.779, allocations: 1.003 MB / 2.271 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004386/4.784, allocations: 1.618 MB / 2.272 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004062/4.788, allocations: 1.125 MB / 2.273 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/4.788, allocations: 4 kB / 2.273 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01885/4.807, allocations: 3.654 MB / 2.277 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.4271/5.234, allocations: 5.031 MB / 2.282 GB, free: 73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.513e-05/5.234, allocations: 12.81 kB / 2.282 GB, free: 73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003566/5.237, allocations: 0.9559 MB / 2.283 GB, free: 72.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/5.241, allocations: 496.3 kB / 2.283 GB, free: 72.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/5.243, allocations: 1.992 MB / 2.285 GB, free: 71.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005674/5.249, allocations: 0.5309 MB / 2.286 GB, free: 71.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003903/5.25, allocations: 105.2 kB / 2.286 GB, free: 71.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/5.25, allocations: 6 kB / 2.286 GB, free: 71.95 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01773/5.267, allocations: 3.319 MB / 2.289 GB, free: 71.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.715e-05/5.267, allocations: 11 kB / 2.289 GB, free: 71.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003219/5.271, allocations: 0.9605 MB / 2.29 GB, free: 71.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003056/5.274, allocations: 482.4 kB / 2.29 GB, free: 71.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/5.277, allocations: 1.993 MB / 2.292 GB, free: 70.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005101/5.282, allocations: 456.5 kB / 2.293 GB, free: 70.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003156/5.282, allocations: 105.1 kB / 2.293 GB, free: 70.8 MB / 0.7448 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 () * Number of clocked 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.001902/5.284, allocations: 0.6962 MB / 2.293 GB, free: 70.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007867/5.285, allocations: 277.3 kB / 2.294 GB, free: 70.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/5.302, allocations: 2.947 MB / 2.297 GB, free: 70.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.83e-05/5.302, allocations: 14.91 kB / 2.297 GB, free: 70.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/5.302, allocations: 5.438 kB / 2.297 GB, free: 70.53 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0152/5.317, allocations: 2.72 MB / 2.299 GB, free: 70.24 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02338/5.341, allocations: 7.661 MB / 2.307 GB, free: 68.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.472e-05/5.341, allocations: 3.906 kB / 2.307 GB, free: 68.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/5.342, allocations: 291.9 kB / 2.307 GB, free: 68.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002906/5.345, allocations: 0.9393 MB / 2.308 GB, free: 68.26 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002203/5.346, allocations: 51.31 kB / 2.308 GB, free: 68.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002678/5.348, allocations: 1.98 MB / 2.31 GB, free: 67.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/5.348, allocations: 14.59 kB / 2.31 GB, free: 67.21 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/5.36, allocations: 4.315 MB / 2.314 GB, free: 65.72 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001929/5.362, allocations: 0.668 MB / 2.315 GB, free: 65.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005928/5.362, allocations: 37.22 kB / 2.315 GB, free: 65.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003453/5.366, allocations: 294.9 kB / 2.315 GB, free: 65.49 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/5.366, allocations: 116.7 kB / 2.315 GB, free: 65.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/5.366, allocations: 72.48 kB / 2.315 GB, free: 65.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003004/5.369, allocations: 1.827 MB / 2.317 GB, free: 65.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.9e-07/5.369, allocations: 0 / 2.317 GB, free: 65.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006488/5.376, allocations: 1.86 MB / 2.319 GB, free: 65.25 MB / 0.7448 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) * Number of clocked states: 0 () * 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.01425/5.39, allocations: 7.867 MB / 2.327 GB, free: 61.65 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01206/5.402, allocations: 3.663 MB / 2.33 GB, free: 61.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/5.402, allocations: 4.562 kB / 2.33 GB, free: 61.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003567/5.406, allocations: 1.091 MB / 2.331 GB, free: 61.47 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006476/5.412, allocations: 1.4 MB / 2.333 GB, free: 61.46 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0485/5.461, allocations: 26.98 MB / 2.359 GB, free: 46.2 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/5.462, allocations: 1.777 MB / 2.361 GB, free: 45.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004027/5.466, allocations: 0.6905 MB / 2.361 GB, free: 45.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001594/5.468, allocations: 1.147 MB / 2.363 GB, free: 45.3 MB / 0.7448 GB Notification: Performance of SimCode: time 8.51e-07/5.468, allocations: 2.906 kB / 2.363 GB, free: 45.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1539/5.622, allocations: 102.2 MB / 2.462 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/5.622, allocations: 280.1 kB / 2.463 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.966/11.59, allocations: 0 / 2.463 GB, free: 38.94 MB / 0.7448 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)