Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009255/0.0009255, allocations: 91.45 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005377/0.005377, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000481/0.000481, allocations: 17.81 kB / 0.6744 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.182, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.05492/0.237, allocations: 68.24 MB / 0.8546 GB, free: 7.012 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.2537, allocations: 14.31 MB / 0.8686 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/0.2553, allocations: 63.56 kB / 0.8687 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.257, allocations: 0.7498 MB / 0.8694 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004942/0.262, allocations: 2.329 MB / 0.8717 GB, free: 5.52 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00372/0.2657, allocations: 1.787 MB / 0.8734 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005201/0.2709, allocations: 5.842 MB / 0.8791 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.2724, allocations: 1.277 MB / 0.8804 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.2744, allocations: 1.423 MB / 0.8818 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.2756, allocations: 1.194 MB / 0.8829 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.2757, allocations: 75.94 kB / 0.883 GB, free: 9.879 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.2786, allocations: 1.737 MB / 0.8847 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002813/0.2789, allocations: 326.5 kB / 0.885 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007455/0.2797, allocations: 0.8956 MB / 0.8859 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003128/0.2828, allocations: 3.349 MB / 0.8891 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2828, allocations: 4 kB / 0.8891 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2828, allocations: 0 / 0.8891 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.2829, allocations: 0 / 0.8891 GB, free: 3.555 MB / 0.7012 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.002961/0.2858, allocations: 1.948 MB / 0.8911 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2859, allocations: 8.031 kB / 0.8911 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001947/0.2861, allocations: 177.6 kB / 0.8912 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/0.2912, allocations: 0.7359 MB / 0.8919 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.2932, allocations: 1.545 MB / 0.8935 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.2933, allocations: 128 kB / 0.8936 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.2935, allocations: 119.9 kB / 0.8937 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/0.297, allocations: 1.677 MB / 0.8953 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.297, allocations: 11.86 kB / 0.8953 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.2971, allocations: 56 kB / 0.8954 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.2972, allocations: 35.94 kB / 0.8954 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004364/0.3016, allocations: 1.527 MB / 0.8969 GB, free: 11.35 MB / 0.7169 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.008143/0.3097, allocations: 7.307 MB / 0.9041 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.3119, allocations: 0.8374 MB / 0.9049 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.3135, allocations: 0.5334 MB / 0.9054 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.3146, allocations: 1.267 MB / 0.9066 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.3147, allocations: 51.06 kB / 0.9067 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=70): time 2.224e-06/0.3147, allocations: 0 / 0.9067 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=70): time 0.02853/0.3432, allocations: 4.319 MB / 0.9109 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.3433, allocations: 111.4 kB / 0.911 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.3451, allocations: 1.363 MB / 0.9123 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.948e-05/0.3452, allocations: 45.7 kB / 0.9124 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005008/0.3457, allocations: 0.6725 MB / 0.913 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.3459, allocations: 248.4 kB / 0.9133 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.346, allocations: 77.67 kB / 0.9133 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3461, allocations: 334 kB / 0.9137 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.348, allocations: 0.525 MB / 0.9142 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.3499, allocations: 0.8024 MB / 0.915 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0034/0.3533, allocations: 1.183 MB / 0.9161 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3534, allocations: 4 kB / 0.9161 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004598/0.358, allocations: 1.636 MB / 0.9177 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.3581, allocations: 276.9 kB / 0.918 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3581, allocations: 4 kB / 0.918 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.3599, allocations: 0.5634 MB / 0.9185 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.3612, allocations: 255.6 kB / 0.9188 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.3629, allocations: 1.178 MB / 0.9199 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.365, allocations: 283.4 kB / 0.9202 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.905e-05/0.3651, allocations: 55.95 kB / 0.9203 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.3651, allocations: 8 kB / 0.9203 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004389/0.3695, allocations: 1.472 MB / 0.9217 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3695, allocations: 4.562 kB / 0.9217 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/0.3712, allocations: 0.5702 MB / 0.9223 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.3724, allocations: 255.6 kB / 0.9225 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3021/0.6745, allocations: 1.164 MB / 0.9236 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/0.6768, allocations: 259.2 kB / 0.9239 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.677, allocations: 56.77 kB / 0.9239 GB, free: 131.9 MB / 0.7325 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 (heaPum.com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007586/0.6777, allocations: 445.4 kB / 0.9244 GB, free: 131.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.678, allocations: 143 kB / 0.9245 GB, free: 131.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004574/0.6826, allocations: 1.417 MB / 0.9259 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.6826, allocations: 7.766 kB / 0.9259 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.6826, allocations: 0 / 0.9259 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004098/0.6867, allocations: 1.219 MB / 0.9271 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007753/0.6945, allocations: 3.51 MB / 0.9305 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.6945, allocations: 2.875 kB / 0.9305 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008476/0.6954, allocations: 150.8 kB / 0.9307 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/0.6971, allocations: 0.5596 MB / 0.9312 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/0.6972, allocations: 23.7 kB / 0.9312 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.6989, allocations: 1.173 MB / 0.9324 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6989, allocations: 6.219 kB / 0.9324 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00406/0.703, allocations: 1.493 MB / 0.9338 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006196/0.7036, allocations: 399.2 kB / 0.9342 GB, free: 128.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.7038, allocations: 22.25 kB / 0.9342 GB, free: 128.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/0.7055, allocations: 158.2 kB / 0.9344 GB, free: 128.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.7056, allocations: 62 kB / 0.9344 GB, free: 128.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.628e-05/0.7057, allocations: 45.92 kB / 0.9345 GB, free: 128.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001371/0.707, allocations: 0.9577 MB / 0.9354 GB, free: 128 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7071, allocations: 2.25 kB / 0.9354 GB, free: 128 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002036/0.7091, allocations: 0.8929 MB / 0.9363 GB, free: 127.9 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005049/0.7142, allocations: 2.463 MB / 0.9387 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006642/0.7208, allocations: 1.924 MB / 0.9406 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/0.7208, allocations: 4.562 kB / 0.9406 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001922/0.7228, allocations: 0.5549 MB / 0.9411 GB, free: 126 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004601/0.7274, allocations: 0.8094 MB / 0.9419 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02953/0.7569, allocations: 13.43 MB / 0.955 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/0.7575, allocations: 1.209 MB / 0.9562 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001767/0.7593, allocations: 335.5 kB / 0.9565 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000638/0.76, allocations: 0.5593 MB / 0.9571 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.463e-06/0.76, allocations: 3.391 kB / 0.9571 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.666/3.426, allocations: 51.21 MB / 1.007 GB, free: 73.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/3.426, allocations: 277.1 kB / 1.007 GB, free: 72.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.478/6.904, allocations: 0 / 1.007 GB, free: 72.79 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)