Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.715/2.715, allocations: 287.3 MB / 302.3 MB, free: 8.375 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.001626/0.001626, allocations: 182.2 kB / 370.8 MB, free: 10.85 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.169/2.169, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001095/0.001095, allocations: 105.3 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006715/0.0006717, allocations: 12.86 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2485, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.8904/1.139, allocations: 109.3 MB / 1.085 GB, free: 31.41 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0458/1.185, allocations: 21.15 MB / 1.106 GB, free: 31.13 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00665/1.192, allocations: 113 kB / 1.106 GB, free: 31.13 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.007861/1.199, allocations: 1.456 MB / 1.107 GB, free: 30.76 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02163/1.221, allocations: 4.07 MB / 1.111 GB, free: 29.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01681/1.238, allocations: 3.158 MB / 1.114 GB, free: 28.48 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01497/1.253, allocations: 5.043 MB / 1.119 GB, free: 26.87 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00592/1.259, allocations: 2.267 MB / 1.121 GB, free: 26.1 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008945/1.268, allocations: 2.417 MB / 1.124 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005163/1.273, allocations: 1.573 MB / 1.125 GB, free: 24.51 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001341/1.275, allocations: 128.7 kB / 1.125 GB, free: 24.51 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/1.285, allocations: 1.743 MB / 1.127 GB, free: 24.12 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002074/1.287, allocations: 0.572 MB / 1.128 GB, free: 23.86 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003294/1.29, allocations: 0.7271 MB / 1.128 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01186/1.302, allocations: 4.565 MB / 1.133 GB, free: 21.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.302, allocations: 0 / 1.133 GB, free: 21.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.516e-06/1.302, allocations: 0 / 1.133 GB, free: 21.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002388/1.302, allocations: 0.875 kB / 1.133 GB, free: 21.66 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01226/1.315, allocations: 3.353 MB / 1.136 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/1.315, allocations: 8.688 kB / 1.136 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00137/1.316, allocations: 329.5 kB / 1.136 GB, free: 18.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02174/1.338, allocations: 1.459 MB / 1.138 GB, free: 18.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009121/1.347, allocations: 2.69 MB / 1.141 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004868/1.348, allocations: 257.6 kB / 1.141 GB, free: 16.08 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/1.349, allocations: 233.8 kB / 1.141 GB, free: 16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01551/1.364, allocations: 3.205 MB / 1.144 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/1.364, allocations: 10.38 kB / 1.144 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005987/1.365, allocations: 103.3 kB / 1.144 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/1.365, allocations: 69.45 kB / 1.144 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01902/1.384, allocations: 2.882 MB / 1.147 GB, free: 12.36 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.03427/1.419, allocations: 13.73 MB / 1.161 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008374/1.427, allocations: 1.507 MB / 1.162 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002961/1.43, allocations: 1.786 MB / 1.164 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007498/1.438, allocations: 1.209 MB / 1.165 GB, free: 13.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 6.071e-06/1.438, allocations: 0 / 1.165 GB, free: 13.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.1075/1.545, allocations: 11.82 MB / 1.176 GB, free: 4.195 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003788/1.546, allocations: 0.5843 MB / 1.177 GB, free: 3.477 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008104/1.554, allocations: 2.678 MB / 1.18 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00062/1.554, allocations: 65.7 kB / 1.18 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002116/1.557, allocations: 1.318 MB / 1.181 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001081/1.558, allocations: 457.6 kB / 1.181 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003341/1.558, allocations: 36 kB / 1.181 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002668/1.558, allocations: 369.9 kB / 1.182 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007968/1.566, allocations: 0.9915 MB / 1.183 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008797/1.575, allocations: 1.593 MB / 1.184 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008086/1.583, allocations: 1.126 MB / 1.185 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/1.583, allocations: 4 kB / 1.185 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.04656/1.63, allocations: 4.237 MB / 1.19 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002597/1.633, allocations: 5.248 MB / 1.195 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-05/1.633, allocations: 12 kB / 1.195 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007229/1.64, allocations: 1.167 MB / 1.196 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00537/1.645, allocations: 471.2 kB / 1.196 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007377/1.653, allocations: 2.387 MB / 1.199 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009599/1.662, allocations: 420.5 kB / 1.199 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006161/1.663, allocations: 111.8 kB / 1.199 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.663, allocations: 4 kB / 1.199 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04477/1.708, allocations: 3.964 MB / 1.203 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.937e-05/1.708, allocations: 15.98 kB / 1.203 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006952/1.715, allocations: 1.165 MB / 1.204 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005157/1.72, allocations: 459.2 kB / 1.205 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007281/1.728, allocations: 2.384 MB / 1.207 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009196/1.737, allocations: 387.2 kB / 1.207 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007305/1.738, allocations: 103.9 kB / 1.207 GB, free: 3.523 MB / 0.7292 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 (164): * Single equations (assignments): 161 * 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.002785/1.74, allocations: 0.6989 MB / 1.208 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.742, allocations: 280.6 kB / 1.208 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03112/1.773, allocations: 3.038 MB / 1.211 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.881e-05/1.773, allocations: 16 kB / 1.211 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/1.773, allocations: 4 kB / 1.211 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02896/1.802, allocations: 2.638 MB / 1.214 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04107/1.843, allocations: 7.049 MB / 1.221 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.86e-05/1.843, allocations: 8 kB / 1.221 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003561/1.847, allocations: 279.8 kB / 1.221 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00631/1.853, allocations: 1.016 MB / 1.222 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004302/1.853, allocations: 55.94 kB / 1.222 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006362/1.86, allocations: 2.158 MB / 1.224 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.806e-05/1.86, allocations: 11.94 kB / 1.224 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0385/1.898, allocations: 5.022 MB / 1.229 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003136/1.902, allocations: 0.673 MB / 1.23 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001329/1.903, allocations: 44.23 kB / 1.23 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007721/1.911, allocations: 300.6 kB / 1.23 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005054/1.911, allocations: 120.6 kB / 1.23 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003866/1.912, allocations: 75.92 kB / 1.23 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.006003/1.918, allocations: 1.886 MB / 1.232 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.71e-07/1.918, allocations: 0 / 1.232 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.009844/1.928, allocations: 1.496 MB / 1.234 GB, free: 7.973 MB / 0.7605 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 (80): * Single equations (assignments): 74 * 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,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.04236/1.97, allocations: 7.921 MB / 1.241 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02527/1.995, allocations: 3.764 MB / 1.245 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.246e-05/1.995, allocations: 4.438 kB / 1.245 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00768/2.003, allocations: 1.103 MB / 1.246 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0137/2.017, allocations: 1.467 MB / 1.248 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03213/2.049, allocations: 15.93 MB / 1.263 GB, free: 8.941 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00271/2.052, allocations: 1.778 MB / 1.265 GB, free: 7.137 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.006415/2.058, allocations: 0.6687 MB / 1.266 GB, free: 6.477 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003316/2.062, allocations: 1.163 MB / 1.267 GB, free: 5.312 MB / 0.7917 GB Notification: Performance of SimCode: time 2.014e-06/2.062, allocations: 0 / 1.267 GB, free: 5.312 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2662/2.328, allocations: 96.24 MB / 1.361 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003558/2.328, allocations: 265.3 kB / 1.361 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.091/9.419, allocations: 7.938 kB / 1.361 GB, free: 5.43 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)