Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.298/2.298, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 177.2 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 103.5 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003791, allocations: 15.03 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2923, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.353, allocations: 437 MB / 1.65 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/1.354, allocations: 94.58 kB / 1.65 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.44/4.793, allocations: 1.07 GB / 2.72 GB, free: 44.08 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.552e-06/4.793, allocations: 4 kB / 2.72 GB, free: 44.08 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004482/4.794, allocations: 75.98 kB / 2.72 GB, free: 44 MB / 1.167 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.01061/4.805, allocations: 3.696 MB / 2.723 GB, free: 40.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/4.805, allocations: 16.03 kB / 2.723 GB, free: 40.19 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001286/4.806, allocations: 324.7 kB / 2.724 GB, free: 39.86 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/4.816, allocations: 1.319 MB / 2.725 GB, free: 38.54 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00736/4.824, allocations: 3.321 MB / 2.728 GB, free: 35.14 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002763/4.824, allocations: 267.9 kB / 2.729 GB, free: 34.86 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006868/4.825, allocations: 228 kB / 2.729 GB, free: 34.64 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008704/4.833, allocations: 3.202 MB / 2.732 GB, free: 31.23 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.634e-05/4.834, allocations: 7.938 kB / 2.732 GB, free: 31.22 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000392/4.834, allocations: 104 kB / 2.732 GB, free: 31.12 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-05/4.834, allocations: 67.94 kB / 2.732 GB, free: 31.05 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008759/4.843, allocations: 2.878 MB / 2.735 GB, free: 28.16 MB / 1.167 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.01801/4.861, allocations: 13.51 MB / 2.748 GB, free: 14.05 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003973/4.865, allocations: 1.576 MB / 2.75 GB, free: 12.43 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/4.866, allocations: 1.777 MB / 2.751 GB, free: 10.27 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003648/4.87, allocations: 1.266 MB / 2.753 GB, free: 8.898 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 4.078e-06/4.87, allocations: 4 kB / 2.753 GB, free: 8.895 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.06458/4.935, allocations: 16.26 MB / 2.768 GB, free: 8.402 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004718/4.935, allocations: 0.9358 MB / 2.769 GB, free: 7.246 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00488/4.94, allocations: 2.427 MB / 2.772 GB, free: 4.809 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000474/4.94, allocations: 65.7 kB / 2.772 GB, free: 4.738 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001438/4.942, allocations: 1.354 MB / 2.773 GB, free: 3.371 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006372/4.943, allocations: 426 kB / 2.773 GB, free: 2.949 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/4.943, allocations: 32 kB / 2.774 GB, free: 2.918 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.000173/4.943, allocations: 369.7 kB / 2.774 GB, free: 2.555 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003972/4.947, allocations: 0.9759 MB / 2.775 GB, free: 1.578 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7129/5.66, allocations: 1.609 MB / 2.776 GB, free: 165.6 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004988/5.665, allocations: 1.109 MB / 2.777 GB, free: 165.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/5.665, allocations: 4.375 kB / 2.777 GB, free: 165.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01412/5.679, allocations: 3.12 MB / 2.781 GB, free: 165.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.00118/5.68, allocations: 5.256 MB / 2.786 GB, free: 160 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/5.68, allocations: 10.06 kB / 2.786 GB, free: 160 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004381/5.685, allocations: 1.164 MB / 2.787 GB, free: 160 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002987/5.688, allocations: 448.1 kB / 2.787 GB, free: 160 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004065/5.692, allocations: 2.377 MB / 2.79 GB, free: 159 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005767/5.698, allocations: 436.4 kB / 2.79 GB, free: 159 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005099/5.698, allocations: 105.6 kB / 2.79 GB, free: 159 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/5.698, allocations: 7.219 kB / 2.79 GB, free: 159 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01112/5.709, allocations: 2.796 MB / 2.793 GB, free: 158.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-05/5.709, allocations: 15.23 kB / 2.793 GB, free: 158.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004012/5.713, allocations: 1.154 MB / 2.794 GB, free: 158.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00278/5.716, allocations: 430.8 kB / 2.794 GB, free: 158.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004019/5.72, allocations: 2.375 MB / 2.797 GB, free: 157.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005406/5.726, allocations: 372.1 kB / 2.797 GB, free: 157.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005342/5.726, allocations: 108.9 kB / 2.797 GB, free: 157.8 MB / 1.182 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,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * 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.002273/5.728, allocations: 0.6954 MB / 2.798 GB, free: 157.6 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/5.73, allocations: 285.3 kB / 2.798 GB, free: 157.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/5.741, allocations: 2.414 MB / 2.8 GB, free: 157.5 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-05/5.741, allocations: 15.28 kB / 2.8 GB, free: 157.5 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/5.741, allocations: 5.469 kB / 2.8 GB, free: 157.5 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01001/5.751, allocations: 2.189 MB / 2.803 GB, free: 157.2 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01902/5.771, allocations: 7.141 MB / 2.81 GB, free: 155.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-05/5.771, allocations: 10.47 kB / 2.81 GB, free: 155.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/5.772, allocations: 271.2 kB / 2.81 GB, free: 155.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003348/5.776, allocations: 1.017 MB / 2.811 GB, free: 155.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002528/5.776, allocations: 50.88 kB / 2.811 GB, free: 155.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003102/5.779, allocations: 2.161 MB / 2.813 GB, free: 154.3 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/5.779, allocations: 10.31 kB / 2.813 GB, free: 154.3 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/5.793, allocations: 4.354 MB / 2.817 GB, free: 152.9 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002538/5.796, allocations: 0.6576 MB / 2.818 GB, free: 152.7 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00129/5.797, allocations: 36.48 kB / 2.818 GB, free: 152.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00443/5.802, allocations: 296.8 kB / 2.818 GB, free: 152.7 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/5.802, allocations: 110.8 kB / 2.818 GB, free: 152.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00025/5.802, allocations: 75.06 kB / 2.818 GB, free: 152.7 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.004543/5.807, allocations: 1.907 MB / 2.82 GB, free: 152.5 MB / 1.182 GB Notification: Performance of sort global known variables: time 4.51e-07/5.807, allocations: 0 / 2.82 GB, free: 152.5 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.008639/5.815, allocations: 1.647 MB / 2.822 GB, free: 152.5 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * 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 (76): * Single equations (assignments): 70 * 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.01816/5.834, allocations: 7.769 MB / 2.829 GB, free: 149.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01344/5.847, allocations: 3.682 MB / 2.833 GB, free: 148.9 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.107e-05/5.847, allocations: 9.531 kB / 2.833 GB, free: 148.9 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.003906/5.851, allocations: 1.084 MB / 2.834 GB, free: 148.9 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007668/5.859, allocations: 1.487 MB / 2.836 GB, free: 148.9 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05438/5.913, allocations: 27.62 MB / 2.863 GB, free: 133.1 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/5.915, allocations: 1.77 MB / 2.864 GB, free: 132.4 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.004238/5.919, allocations: 0.652 MB / 2.865 GB, free: 132.4 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/5.921, allocations: 1.168 MB / 2.866 GB, free: 132.3 MB / 1.182 GB Notification: Performance of SimCode: time 9.408e-06/5.921, allocations: 3.391 kB / 2.866 GB, free: 132.3 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1477/6.069, allocations: 106.2 MB / 2.97 GB, free: 127.3 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/6.069, allocations: 276 kB / 2.97 GB, free: 126.9 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.725/11.79, allocations: 4 kB / 2.97 GB, free: 126.9 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat does not exist to compare? outputFormat=mat