Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.594/1.594, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001086, allocations: 178.4 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 0.578 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008668/0.0008667, allocations: 82.42 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 9.906 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2596, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1108/0.3705, allocations: 127.9 MB / 1.026 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03839/0.4089, allocations: 25.01 MB / 1.05 GB, free: 6.016 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006838/0.4158, allocations: 115.2 kB / 1.05 GB, free: 5.902 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005928/0.4218, allocations: 1.414 MB / 1.052 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01552/0.4374, allocations: 4.121 MB / 1.056 GB, free: 356 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.6826/1.12, allocations: 3.163 MB / 1.059 GB, free: 40.22 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01914/1.139, allocations: 11.3 MB / 1.07 GB, free: 40.22 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006736/1.146, allocations: 2.498 MB / 1.072 GB, free: 39.91 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009418/1.155, allocations: 2.797 MB / 1.075 GB, free: 39.91 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00651/1.162, allocations: 2.296 MB / 1.077 GB, free: 39.8 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0009743/1.163, allocations: 128.8 kB / 1.077 GB, free: 39.8 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009395/1.172, allocations: 2.577 MB / 1.08 GB, free: 39.8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001393/1.174, allocations: 0.607 MB / 1.081 GB, free: 39.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.005453/1.179, allocations: 1.702 MB / 1.082 GB, free: 39.14 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01409/1.193, allocations: 6.088 MB / 1.088 GB, free: 38.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/1.193, allocations: 0 / 1.088 GB, free: 38.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.845e-06/1.193, allocations: 0 / 1.088 GB, free: 38.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002355/1.194, allocations: 0 / 1.088 GB, free: 38.57 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008975/1.203, allocations: 3.4 MB / 1.091 GB, free: 36.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/1.203, allocations: 9.938 kB / 1.091 GB, free: 36.74 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001063/1.204, allocations: 323.3 kB / 1.092 GB, free: 36.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/1.215, allocations: 1.454 MB / 1.093 GB, free: 36.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006363/1.221, allocations: 2.906 MB / 1.096 GB, free: 35.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/1.221, allocations: 251.2 kB / 1.096 GB, free: 35.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007339/1.222, allocations: 240.6 kB / 1.097 GB, free: 35.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009243/1.231, allocations: 3.212 MB / 1.1 GB, free: 35.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.894e-05/1.231, allocations: 10.38 kB / 1.1 GB, free: 35.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003677/1.232, allocations: 96.09 kB / 1.1 GB, free: 35.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/1.232, allocations: 74.61 kB / 1.1 GB, free: 35.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/1.242, allocations: 2.901 MB / 1.103 GB, free: 35.2 MB / 0.698 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.02162/1.264, allocations: 13.62 MB / 1.116 GB, free: 26.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004199/1.268, allocations: 1.512 MB / 1.117 GB, free: 26.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002997/1.271, allocations: 0.9433 MB / 1.118 GB, free: 26.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/1.273, allocations: 1.786 MB / 1.12 GB, free: 24.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003501/1.276, allocations: 1.197 MB / 1.121 GB, free: 23.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 3.236e-06/1.276, allocations: 0 / 1.121 GB, free: 23.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=132): time 0.05239/1.329, allocations: 11.92 MB / 1.133 GB, free: 18.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/1.329, allocations: 0.5812 MB / 1.133 GB, free: 17.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004433/1.333, allocations: 2.603 MB / 1.136 GB, free: 16.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004376/1.334, allocations: 64.64 kB / 1.136 GB, free: 16.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/1.335, allocations: 1.324 MB / 1.137 GB, free: 15.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005103/1.335, allocations: 458.2 kB / 1.138 GB, free: 15.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/1.336, allocations: 37.25 kB / 1.138 GB, free: 15.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.336, allocations: 369.5 kB / 1.138 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003464/1.339, allocations: 1.013 MB / 1.139 GB, free: 14.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003929/1.343, allocations: 1.62 MB / 1.141 GB, free: 12.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006936/1.35, allocations: 2.31 MB / 1.143 GB, free: 10.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/1.35, allocations: 4 kB / 1.143 GB, free: 10.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02176/1.372, allocations: 4.218 MB / 1.147 GB, free: 7.453 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003101/1.372, allocations: 481.7 kB / 1.148 GB, free: 6.848 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.372, allocations: 12 kB / 1.148 GB, free: 6.836 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003713/1.376, allocations: 1.123 MB / 1.149 GB, free: 5.914 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002627/1.379, allocations: 470 kB / 1.149 GB, free: 5.484 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003683/1.382, allocations: 2.395 MB / 1.151 GB, free: 3.551 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005828/1.388, allocations: 420.7 kB / 1.152 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004955/1.389, allocations: 103 kB / 1.152 GB, free: 3.086 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.389, allocations: 6.5 kB / 1.152 GB, free: 3.082 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0199/1.409, allocations: 3.924 MB / 1.156 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.422e-05/1.409, allocations: 12 kB / 1.156 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003861/1.413, allocations: 1.121 MB / 1.157 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/1.415, allocations: 464.3 kB / 1.157 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004199/1.42, allocations: 2.404 MB / 1.16 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005186/1.425, allocations: 387.5 kB / 1.16 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000388/1.425, allocations: 103.9 kB / 1.16 GB, free: 11.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.002152/1.427, allocations: 0.6989 MB / 1.161 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009128/1.428, allocations: 281 kB / 1.161 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008555/1.437, allocations: 2.462 MB / 1.164 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.262e-05/1.437, allocations: 16 kB / 1.164 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/1.437, allocations: 7.938 kB / 1.164 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007375/1.444, allocations: 2.064 MB / 1.166 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02345/1.468, allocations: 7.054 MB / 1.172 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/1.468, allocations: 8 kB / 1.172 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/1.47, allocations: 289.2 kB / 1.173 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003395/1.473, allocations: 0.9788 MB / 1.174 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/1.473, allocations: 55.94 kB / 1.174 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003678/1.477, allocations: 2.166 MB / 1.176 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/1.477, allocations: 19.39 kB / 1.176 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/1.491, allocations: 3.816 MB / 1.18 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002442/1.494, allocations: 0.6456 MB / 1.18 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000549/1.494, allocations: 39.98 kB / 1.18 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003403/1.498, allocations: 305.1 kB / 1.181 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/1.498, allocations: 108.3 kB / 1.181 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/1.498, allocations: 71.92 kB / 1.181 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003461/1.502, allocations: 1.832 MB / 1.183 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.62e-07/1.502, allocations: 0 / 1.183 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005406/1.507, allocations: 1.519 MB / 1.184 GB, free: 2.723 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (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 (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,19), (4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01558/1.523, allocations: 5.092 MB / 1.189 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0137/1.536, allocations: 3.823 MB / 1.193 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.95e-05/1.537, allocations: 4.25 kB / 1.193 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.004024/1.541, allocations: 1.12 MB / 1.194 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01133/1.552, allocations: 1.571 MB / 1.195 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09729/1.649, allocations: 29.15 MB / 1.224 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/1.651, allocations: 1.717 MB / 1.226 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004235/1.655, allocations: 0.6458 MB / 1.226 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002322/1.657, allocations: 1.182 MB / 1.227 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of SimCode: time 1.112e-06/1.658, allocations: 0 / 1.227 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1828/1.84, allocations: 100.1 MB / 1.325 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/1.841, allocations: 294.8 kB / 1.325 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.804/8.644, allocations: 0 / 1.325 GB, free: 0.9492 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)