Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_9_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.001036/0.001036, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009463/0.0009464, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.2 MB / 0.6653 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 12 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7966/0.797, allocations: 142.3 MB / 0.9536 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.05878/0.8558, allocations: 58.56 MB / 1.011 GB, free: 5.488 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01912/0.8749, allocations: 12.19 MB / 1.023 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002983/0.878, allocations: 59.62 kB / 1.023 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.8811, allocations: 0.7889 MB / 1.024 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.008277/0.8894, allocations: 2.231 MB / 1.026 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006524/0.8959, allocations: 1.889 MB / 1.028 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006329/0.9023, allocations: 2.672 MB / 1.03 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002317/0.9046, allocations: 1.16 MB / 1.031 GB, free: 484 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003249/0.9079, allocations: 1.265 MB / 1.033 GB, free: 15.2 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.9095, allocations: 0.8127 MB / 1.033 GB, free: 14.39 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002196/0.9097, allocations: 72 kB / 1.033 GB, free: 14.32 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00346/0.9132, allocations: 1.178 MB / 1.035 GB, free: 13.14 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000423/0.9137, allocations: 306.7 kB / 1.035 GB, free: 12.84 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006813/0.9143, allocations: 396.8 kB / 1.035 GB, free: 12.44 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00374/0.9181, allocations: 2.428 MB / 1.038 GB, free: 10.01 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.9181, allocations: 0 / 1.038 GB, free: 10.01 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9181, allocations: 4 kB / 1.038 GB, free: 10 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.728e-05/0.9182, allocations: 0 / 1.038 GB, free: 10 MB / 0.795 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.004078/0.9222, allocations: 1.928 MB / 1.039 GB, free: 8.008 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.9223, allocations: 8.031 kB / 1.039 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00028/0.9226, allocations: 181.4 kB / 1.04 GB, free: 7.812 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005353/0.9279, allocations: 0.7276 MB / 1.04 GB, free: 7.082 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003116/0.9311, allocations: 1.456 MB / 1.042 GB, free: 5.57 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.9312, allocations: 124 kB / 1.042 GB, free: 5.441 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.9314, allocations: 116 kB / 1.042 GB, free: 5.328 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003926/0.9354, allocations: 1.667 MB / 1.044 GB, free: 3.566 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.9354, allocations: 7.938 kB / 1.044 GB, free: 3.559 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.9356, allocations: 48 kB / 1.044 GB, free: 3.512 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.358e-05/0.9356, allocations: 39.98 kB / 1.044 GB, free: 3.473 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004661/0.9403, allocations: 1.519 MB / 1.045 GB, free: 1.945 MB / 0.795 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.01078/0.9511, allocations: 7.335 MB / 1.052 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/0.9535, allocations: 0.8298 MB / 1.053 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/0.955, allocations: 1.271 MB / 1.054 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.9551, allocations: 43.12 kB / 1.054 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.655e-06/0.9551, allocations: 4 kB / 1.054 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.02944/0.9846, allocations: 4.281 MB / 1.059 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.9847, allocations: 111.4 kB / 1.059 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/0.9869, allocations: 1.402 MB / 1.06 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/0.9871, allocations: 45.7 kB / 1.06 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000608/0.9877, allocations: 0.6842 MB / 1.061 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.9879, allocations: 240.5 kB / 1.061 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/0.988, allocations: 20 kB / 1.061 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.9881, allocations: 345.9 kB / 1.061 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.99, allocations: 0.5133 MB / 1.062 GB, free: 68 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.9922, allocations: 0.7945 MB / 1.063 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/0.9941, allocations: 0.5691 MB / 1.063 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.9942, allocations: 0 / 1.063 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00521/0.9994, allocations: 1.628 MB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009837/1, allocations: 2.497 MB / 1.067 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/1, allocations: 8 kB / 1.067 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002043/1.002, allocations: 0.557 MB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.004, allocations: 255.6 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/1.006, allocations: 1.171 MB / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/1.009, allocations: 282.5 kB / 1.069 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/1.009, allocations: 59.94 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.009, allocations: 4 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004833/1.014, allocations: 1.472 MB / 1.071 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.014, allocations: 4 kB / 1.071 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001929/1.016, allocations: 0.5767 MB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/1.017, allocations: 251.6 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/1.019, allocations: 1.17 MB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/1.021, allocations: 254.7 kB / 1.073 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/1.021, allocations: 55.94 kB / 1.073 GB, free: 4.156 MB / 0.8262 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.0009316/1.022, allocations: 452.8 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/1.023, allocations: 150.2 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004464/1.027, allocations: 1.395 MB / 1.075 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/1.027, allocations: 15.94 kB / 1.075 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.027, allocations: 0 / 1.075 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003766/1.031, allocations: 1.215 MB / 1.076 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008722/1.04, allocations: 3.535 MB / 1.08 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.04, allocations: 4 kB / 1.08 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008834/1.041, allocations: 148 kB / 1.08 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/1.043, allocations: 0.5655 MB / 1.08 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.769e-05/1.043, allocations: 23.97 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/1.045, allocations: 1.166 MB / 1.082 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/1.045, allocations: 11.94 kB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004757/1.05, allocations: 1.707 MB / 1.083 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.051, allocations: 398.9 kB / 1.084 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/1.051, allocations: 23.98 kB / 1.084 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/1.053, allocations: 163.7 kB / 1.084 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/1.053, allocations: 60.25 kB / 1.084 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.053, allocations: 43.95 kB / 1.084 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001701/1.055, allocations: 0.9966 MB / 1.085 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.31e-07/1.055, allocations: 3.938 kB / 1.085 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002746/1.057, allocations: 0.9007 MB / 1.086 GB, free: 6.691 MB / 0.8419 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.006633/1.064, allocations: 3.753 MB / 1.09 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.006738/1.071, allocations: 1.898 MB / 1.091 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/1.071, allocations: 7.781 kB / 1.091 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/1.073, allocations: 0.5613 MB / 1.092 GB, free: 360 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00407/1.077, allocations: 0.7718 MB / 1.093 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/1.087, allocations: 8.178 MB / 1.101 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008696/1.088, allocations: 1.238 MB / 1.102 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001857/1.09, allocations: 342.2 kB / 1.102 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007534/1.091, allocations: 0.5617 MB / 1.103 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of SimCode: time 4.488e-06/1.091, allocations: 0 / 1.103 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08331/1.174, allocations: 50.21 MB / 1.152 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/1.174, allocations: 257.9 kB / 1.152 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.032/4.207, allocations: 2.109 kB / 1.152 GB, free: 3.023 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static_res.mat does not exist to compare? outputFormat=mat