Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.813/2.813, allocations: 287.3 MB / 302.3 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001579/0.001579, allocations: 190.9 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 94.8 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005125/0.0005128, allocations: 12.06 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2344, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.882/1.116, allocations: 109.3 MB / 1.085 GB, free: 31.27 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04727/1.164, allocations: 21.21 MB / 1.106 GB, free: 31.01 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007106/1.171, allocations: 110.2 kB / 1.106 GB, free: 31.01 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.008051/1.179, allocations: 1.463 MB / 1.107 GB, free: 30.69 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02203/1.201, allocations: 4.076 MB / 1.111 GB, free: 29.41 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01748/1.219, allocations: 3.149 MB / 1.114 GB, free: 28.42 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01466/1.233, allocations: 5.056 MB / 1.119 GB, free: 26.8 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005747/1.239, allocations: 2.278 MB / 1.122 GB, free: 26.02 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008637/1.248, allocations: 2.419 MB / 1.124 GB, free: 25.05 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005285/1.253, allocations: 1.569 MB / 1.125 GB, free: 24.43 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001128/1.254, allocations: 134.4 kB / 1.126 GB, free: 24.43 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/1.265, allocations: 1.742 MB / 1.127 GB, free: 24.04 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00197/1.267, allocations: 0.5715 MB / 1.128 GB, free: 23.78 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002546/1.269, allocations: 0.7309 MB / 1.128 GB, free: 23.37 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0112/1.28, allocations: 4.562 MB / 1.133 GB, free: 21.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.281, allocations: 0 / 1.133 GB, free: 21.57 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.555e-06/1.281, allocations: 0 / 1.133 GB, free: 21.57 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001607/1.281, allocations: 0 / 1.133 GB, free: 21.57 MB / 0.6823 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.0112/1.292, allocations: 3.343 MB / 1.136 GB, free: 19.12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/1.292, allocations: 9.094 kB / 1.136 GB, free: 19.12 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001308/1.293, allocations: 325.5 kB / 1.137 GB, free: 18.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01919/1.313, allocations: 1.366 MB / 1.138 GB, free: 18.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008929/1.322, allocations: 2.691 MB / 1.141 GB, free: 16.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004523/1.322, allocations: 254.6 kB / 1.141 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001015/1.323, allocations: 233.7 kB / 1.141 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/1.337, allocations: 3.134 MB / 1.144 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/1.337, allocations: 6.844 kB / 1.144 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005601/1.338, allocations: 98.19 kB / 1.144 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/1.338, allocations: 74.55 kB / 1.144 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/1.356, allocations: 2.769 MB / 1.147 GB, free: 12.43 MB / 0.6823 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.03398/1.39, allocations: 13.38 MB / 1.16 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007658/1.398, allocations: 1.419 MB / 1.161 GB, free: 312 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002767/1.401, allocations: 1.783 MB / 1.163 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006986/1.408, allocations: 1.164 MB / 1.164 GB, free: 13.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 6.322e-06/1.408, allocations: 0 / 1.164 GB, free: 13.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.04118/1.449, allocations: 4.24 MB / 1.168 GB, free: 11.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003215/1.449, allocations: 0.5809 MB / 1.169 GB, free: 10.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007353/1.457, allocations: 2.576 MB / 1.171 GB, free: 9.223 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000631/1.457, allocations: 65.2 kB / 1.172 GB, free: 9.168 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00216/1.459, allocations: 1.342 MB / 1.173 GB, free: 7.812 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009874/1.46, allocations: 445.7 kB / 1.173 GB, free: 7.371 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/1.461, allocations: 36 kB / 1.173 GB, free: 7.336 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002164/1.461, allocations: 369.9 kB / 1.174 GB, free: 6.969 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007277/1.468, allocations: 0.9563 MB / 1.175 GB, free: 6.012 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008173/1.477, allocations: 1.552 MB / 1.176 GB, free: 4.227 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007578/1.484, allocations: 1.101 MB / 1.177 GB, free: 3.121 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/1.484, allocations: 8 kB / 1.177 GB, free: 3.113 MB / 0.698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.0239/1.508, allocations: 3.113 MB / 1.18 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00229/1.51, allocations: 5.02 MB / 1.185 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-05/1.511, allocations: 12 kB / 1.185 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004435/1.515, allocations: 0.7266 MB / 1.186 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005679/1.521, allocations: 0.5109 MB / 1.186 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004021/1.525, allocations: 1.803 MB / 1.188 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009522/1.534, allocations: 0.5132 MB / 1.189 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007108/1.535, allocations: 107.9 kB / 1.189 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/1.535, allocations: 4 kB / 1.189 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0227/1.558, allocations: 2.841 MB / 1.191 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-05/1.558, allocations: 12 kB / 1.191 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004268/1.562, allocations: 0.7234 MB / 1.192 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00571/1.568, allocations: 0.4992 MB / 1.193 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003984/1.572, allocations: 1.804 MB / 1.194 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008458/1.581, allocations: 473.7 kB / 1.195 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006226/1.581, allocations: 103.9 kB / 1.195 GB, free: 316 kB / 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,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * 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.002573/1.584, allocations: 0.692 MB / 1.196 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/1.585, allocations: 268.8 kB / 1.196 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02155/1.607, allocations: 2.603 MB / 1.198 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-05/1.607, allocations: 16 kB / 1.198 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/1.607, allocations: 0 / 1.198 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01984/1.627, allocations: 2.213 MB / 1.201 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03048/1.657, allocations: 6.554 MB / 1.207 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.969e-05/1.657, allocations: 8 kB / 1.207 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003782/1.661, allocations: 291.6 kB / 1.207 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004217/1.665, allocations: 0.7087 MB / 1.208 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004208/1.666, allocations: 47.95 kB / 1.208 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003883/1.67, allocations: 1.792 MB / 1.21 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.762e-05/1.67, allocations: 11.94 kB / 1.21 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02382/1.694, allocations: 4.293 MB / 1.214 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003003/1.697, allocations: 0.6729 MB / 1.215 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/1.698, allocations: 39.98 kB / 1.215 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007152/1.705, allocations: 286.2 kB / 1.215 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005326/1.706, allocations: 116.7 kB / 1.215 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003701/1.706, allocations: 71.92 kB / 1.215 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00588/1.712, allocations: 1.813 MB / 1.217 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.32e-07/1.712, allocations: 0 / 1.217 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01019/1.722, allocations: 1.688 MB / 1.219 GB, free: 7.43 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * 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 (88): * Single equations (assignments): 82 * 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.02736/1.75, allocations: 7.422 MB / 1.226 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02314/1.773, allocations: 3.59 MB / 1.229 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.191e-05/1.773, allocations: 4.438 kB / 1.229 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.007066/1.78, allocations: 1.046 MB / 1.23 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0127/1.793, allocations: 1.385 MB / 1.232 GB, free: 9.754 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03407/1.827, allocations: 15.79 MB / 1.247 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/1.829, allocations: 1.765 MB / 1.249 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.006335/1.836, allocations: 0.6911 MB / 1.25 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003399/1.839, allocations: 1.155 MB / 1.251 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of SimCode: time 1.403e-06/1.839, allocations: 4 kB / 1.251 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2448/2.084, allocations: 89.37 MB / 1.338 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003957/2.084, allocations: 280.3 kB / 1.338 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.138/9.222, allocations: 8 kB / 1.338 GB, free: 12.82 MB / 0.8698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)