Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.707/1.707, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001451/0.001451, allocations: 179.1 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.4 MB / 0.6305 GB, free: 9.977 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.0009924/0.0009924, allocations: 85.16 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004235, allocations: 20.67 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2719, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.05282/0.3247, allocations: 58.54 MB / 1.037 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01984/0.3446, allocations: 12.07 MB / 1.048 GB, free: 4.82 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003754/0.3484, allocations: 55.62 kB / 1.048 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004133/0.3526, allocations: 0.7928 MB / 1.049 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00922/0.3619, allocations: 2.168 MB / 1.051 GB, free: 1.797 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007892/0.3698, allocations: 1.916 MB / 1.053 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007531/0.3773, allocations: 2.62 MB / 1.056 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002865/0.3802, allocations: 1.164 MB / 1.057 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004025/0.3843, allocations: 1.261 MB / 1.058 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/0.3869, allocations: 0.8127 MB / 1.059 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006836/0.3876, allocations: 68 kB / 1.059 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00499/0.3926, allocations: 1.17 MB / 1.06 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008174/0.3934, allocations: 302.8 kB / 1.06 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.3948, allocations: 400.8 kB / 1.061 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004871/0.3997, allocations: 2.428 MB / 1.063 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3997, allocations: 4 kB / 1.063 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.04e-06/0.3997, allocations: 3.984 kB / 1.063 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000129/0.3998, allocations: 0 / 1.063 GB, free: 5.645 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005308/0.4052, allocations: 1.912 MB / 1.065 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.4052, allocations: 12.03 kB / 1.065 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005838/0.4058, allocations: 177.4 kB / 1.065 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005919/0.4117, allocations: 0.7354 MB / 1.066 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004274/0.4161, allocations: 1.433 MB / 1.067 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/0.4164, allocations: 136 kB / 1.068 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004259/0.4168, allocations: 120 kB / 1.068 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5161/0.9329, allocations: 1.661 MB / 1.069 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/0.933, allocations: 4.438 kB / 1.069 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.9332, allocations: 50.84 kB / 1.069 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.831e-05/0.9333, allocations: 34.84 kB / 1.069 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006062/0.9394, allocations: 1.522 MB / 1.071 GB, free: 89.03 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.01382/0.9533, allocations: 7.333 MB / 1.078 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/0.9562, allocations: 0.8378 MB / 1.079 GB, free: 83.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.9575, allocations: 1.269 MB / 1.08 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.9576, allocations: 45.89 kB / 1.08 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 4.228e-06/0.9576, allocations: 5.531 kB / 1.08 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.03049/0.9881, allocations: 4.279 MB / 1.084 GB, free: 81.59 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.9882, allocations: 115.2 kB / 1.084 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/0.991, allocations: 1.4 MB / 1.086 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.9912, allocations: 48.83 kB / 1.086 GB, free: 80.85 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005934/0.9918, allocations: 0.6742 MB / 1.086 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.9921, allocations: 243.3 kB / 1.087 GB, free: 80.15 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.9922, allocations: 15.59 kB / 1.087 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.9923, allocations: 343.9 kB / 1.087 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.9943, allocations: 0.519 MB / 1.088 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/0.9966, allocations: 0.7879 MB / 1.088 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.9988, allocations: 0.5685 MB / 1.089 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.9988, allocations: 2.594 kB / 1.089 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005907/1.005, allocations: 1.627 MB / 1.09 GB, free: 78.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005556/1.005, allocations: 2.488 MB / 1.093 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/1.005, allocations: 6.906 kB / 1.093 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002174/1.008, allocations: 0.5725 MB / 1.093 GB, free: 75.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/1.009, allocations: 252.3 kB / 1.094 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/1.011, allocations: 1.165 MB / 1.095 GB, free: 74.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/1.014, allocations: 291.9 kB / 1.095 GB, free: 74.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/1.014, allocations: 62.73 kB / 1.095 GB, free: 74.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.014, allocations: 5.125 kB / 1.095 GB, free: 74.75 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005026/1.019, allocations: 1.464 MB / 1.097 GB, free: 74.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/1.019, allocations: 11.98 kB / 1.097 GB, free: 74.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/1.021, allocations: 0.5753 MB / 1.097 GB, free: 74.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/1.022, allocations: 249.8 kB / 1.097 GB, free: 74.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/1.024, allocations: 1.172 MB / 1.099 GB, free: 73.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/1.027, allocations: 255.4 kB / 1.099 GB, free: 73.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/1.027, allocations: 55.27 kB / 1.099 GB, free: 73.23 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0009812/1.028, allocations: 453.3 kB / 1.099 GB, free: 72.88 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003799/1.028, allocations: 149.1 kB / 1.099 GB, free: 72.81 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004465/1.033, allocations: 1.402 MB / 1.101 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/1.033, allocations: 7.75 kB / 1.101 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.033, allocations: 0 / 1.101 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003846/1.037, allocations: 1.226 MB / 1.102 GB, free: 71.49 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008264/1.045, allocations: 3.518 MB / 1.105 GB, free: 68.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.045, allocations: 7.938 kB / 1.105 GB, free: 68.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008382/1.046, allocations: 150.4 kB / 1.106 GB, free: 68.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/1.048, allocations: 0.5528 MB / 1.106 GB, free: 68.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.329e-05/1.048, allocations: 27.78 kB / 1.106 GB, free: 68.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/1.05, allocations: 1.169 MB / 1.107 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/1.05, allocations: 3.719 kB / 1.107 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004618/1.054, allocations: 1.706 MB / 1.109 GB, free: 66.47 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.055, allocations: 413.4 kB / 1.109 GB, free: 66.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/1.056, allocations: 20.27 kB / 1.109 GB, free: 66.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/1.058, allocations: 154.9 kB / 1.11 GB, free: 66.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/1.058, allocations: 59.31 kB / 1.11 GB, free: 66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-05/1.058, allocations: 50.3 kB / 1.11 GB, free: 65.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001694/1.059, allocations: 0.9851 MB / 1.111 GB, free: 65.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/1.06, allocations: 0 / 1.111 GB, free: 65.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003221/1.063, allocations: 0.8985 MB / 1.111 GB, free: 65.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.006691/1.069, allocations: 3.76 MB / 1.115 GB, free: 62.37 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007037/1.077, allocations: 1.909 MB / 1.117 GB, free: 61.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/1.077, allocations: 1.719 kB / 1.117 GB, free: 61.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002027/1.079, allocations: 0.5557 MB / 1.118 GB, free: 61.24 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004136/1.083, allocations: 0.7823 MB / 1.118 GB, free: 60.86 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009985/1.093, allocations: 8.179 MB / 1.126 GB, free: 53.86 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007871/1.094, allocations: 1.237 MB / 1.127 GB, free: 52.89 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002201/1.096, allocations: 333 kB / 1.128 GB, free: 52.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000745/1.097, allocations: 0.5564 MB / 1.128 GB, free: 52.25 MB / 0.6823 GB Notification: Performance of SimCode: time 9.21e-07/1.097, allocations: 0 / 1.128 GB, free: 52.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07432/1.171, allocations: 50.36 MB / 1.178 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/1.171, allocations: 279.7 kB / 1.178 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.572/4.744, allocations: 4 kB / 1.178 GB, free: 5.191 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)