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.7022/0.7022, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009262/0.0009262, allocations: 177.8 kB / 187.3 MB, free: 11.88 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.184/1.184, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0008221/0.0008225, allocations: 92.23 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001628/0.001628, allocations: 271.8 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.596e-05/2.614e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3243, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.61/0.9344, allocations: 396.1 MB / 1.151 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.9347, allocations: 86.89 kB / 1.151 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.15/4.084, allocations: 1.062 GB / 2.213 GB, free: 38.24 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.163e-06/4.084, allocations: 0 / 2.213 GB, free: 38.24 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003403/4.085, allocations: 82.72 kB / 2.213 GB, free: 38.16 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.007335/4.092, allocations: 3.189 MB / 2.216 GB, free: 34.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/4.092, allocations: 10.22 kB / 2.216 GB, free: 34.87 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008288/4.093, allocations: 316.8 kB / 2.216 GB, free: 34.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008918/4.102, allocations: 1.324 MB / 2.218 GB, free: 33.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006027/4.108, allocations: 3.298 MB / 2.221 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/4.108, allocations: 252 kB / 2.221 GB, free: 29.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/4.108, allocations: 236 kB / 2.221 GB, free: 29.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004165/4.113, allocations: 2.83 MB / 2.224 GB, free: 26.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.6e-05/4.113, allocations: 7.938 kB / 2.224 GB, free: 26.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/4.113, allocations: 108 kB / 2.224 GB, free: 26.24 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.525e-05/4.113, allocations: 63.98 kB / 2.224 GB, free: 26.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003163/4.116, allocations: 2.168 MB / 2.226 GB, free: 23.99 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.01799/4.134, allocations: 13.33 MB / 2.239 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/4.136, allocations: 1.249 MB / 2.241 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000796/4.136, allocations: 0.6546 MB / 2.241 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/4.138, allocations: 1.774 MB / 2.243 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/4.139, allocations: 1.004 MB / 2.244 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=122): time 2.995e-06/4.139, allocations: 0 / 2.244 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.00415/4.143, allocations: 1.688 MB / 2.246 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/4.143, allocations: 0.9435 MB / 2.246 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002825/4.146, allocations: 2.242 MB / 2.249 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002243/4.146, allocations: 57.7 kB / 2.249 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/4.148, allocations: 1.364 MB / 2.25 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00039/4.148, allocations: 427.4 kB / 2.25 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/4.148, allocations: 36 kB / 2.25 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001363/4.148, allocations: 361.9 kB / 2.251 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/4.149, allocations: 0.6561 MB / 2.251 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/4.151, allocations: 1.279 MB / 2.253 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/4.152, allocations: 0.7899 MB / 2.253 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/4.152, allocations: 4 kB / 2.253 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01135/4.163, allocations: 2.892 MB / 2.256 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001512/4.165, allocations: 5.038 MB / 2.261 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/4.165, allocations: 12 kB / 2.261 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002311/4.167, allocations: 0.8272 MB / 2.262 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/4.17, allocations: 495.2 kB / 2.263 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/4.172, allocations: 1.801 MB / 2.264 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004722/4.176, allocations: 0.5325 MB / 2.265 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/4.177, allocations: 111.9 kB / 2.265 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/4.177, allocations: 4 kB / 2.265 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01061/4.187, allocations: 2.614 MB / 2.267 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/4.187, allocations: 15.62 kB / 2.267 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002211/4.19, allocations: 0.8325 MB / 2.268 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/4.192, allocations: 487.2 kB / 2.269 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/4.194, allocations: 1.806 MB / 2.271 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004337/4.198, allocations: 453.9 kB / 2.271 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/4.198, allocations: 107.9 kB / 2.271 GB, free: 8.055 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 () * 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.0005078/4.199, allocations: 220.9 kB / 2.271 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005084/4.199, allocations: 280.7 kB / 2.272 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/4.21, allocations: 2.297 MB / 2.274 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/4.21, allocations: 14.88 kB / 2.274 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/4.21, allocations: 11.94 kB / 2.274 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009669/4.22, allocations: 2.084 MB / 2.276 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4331/4.653, allocations: 7.009 MB / 2.283 GB, free: 81.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.336e-05/4.653, allocations: 7.047 kB / 2.283 GB, free: 81.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/4.655, allocations: 291.2 kB / 2.283 GB, free: 81.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002457/4.657, allocations: 0.8099 MB / 2.284 GB, free: 81.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/4.658, allocations: 47.66 kB / 2.284 GB, free: 81.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/4.659, allocations: 1.799 MB / 2.286 GB, free: 80.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/4.659, allocations: 10.69 kB / 2.286 GB, free: 80.1 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004868/4.664, allocations: 3.393 MB / 2.289 GB, free: 78.81 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/4.666, allocations: 0.6664 MB / 2.29 GB, free: 78.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003767/4.666, allocations: 41.94 kB / 2.29 GB, free: 78.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002982/4.669, allocations: 295.8 kB / 2.29 GB, free: 78.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/4.669, allocations: 115.8 kB / 2.29 GB, free: 78.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/4.669, allocations: 74.16 kB / 2.29 GB, free: 78.63 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002431/4.672, allocations: 1.741 MB / 2.292 GB, free: 78.47 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/4.672, allocations: 0 / 2.292 GB, free: 78.47 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004548/4.676, allocations: 1.853 MB / 2.294 GB, free: 78.39 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) * 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.006776/4.683, allocations: 6.953 MB / 2.3 GB, free: 74.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004443/4.688, allocations: 2.791 MB / 2.303 GB, free: 74.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/4.688, allocations: 7.688 kB / 2.303 GB, free: 74.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/4.689, allocations: 0.8019 MB / 2.304 GB, free: 74.61 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006409/4.695, allocations: 1.402 MB / 2.305 GB, free: 74.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009488/4.705, allocations: 4.468 MB / 2.31 GB, free: 73.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/4.706, allocations: 1.775 MB / 2.311 GB, free: 72.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003938/4.71, allocations: 0.8548 MB / 2.312 GB, free: 72.64 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/4.711, allocations: 1.101 MB / 2.313 GB, free: 72.64 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/4.711, allocations: 3.156 kB / 2.313 GB, free: 72.64 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/4.85, allocations: 106.5 MB / 2.417 GB, free: 67.34 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/4.851, allocations: 249.6 kB / 2.417 GB, free: 67.01 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.252/10.1, allocations: 3.281 kB / 2.417 GB, free: 67.01 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)