Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",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.351/2.351, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001285/0.001285, allocations: 179.4 kB / 498.1 MB, free: 5.762 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.575/1.575, allocations: 223.1 MB / 0.7948 GB, free: 17.95 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.0009714/0.0009712, allocations: 93.72 kB / 0.9346 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004399, allocations: 10.47 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3252, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.164/1.489, allocations: 436.3 MB / 1.649 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/1.49, allocations: 102.5 kB / 1.649 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.52/5.009, allocations: 1.069 GB / 2.718 GB, free: 45.79 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.195e-06/5.009, allocations: 0 / 2.718 GB, free: 45.79 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004987/5.01, allocations: 79.97 kB / 2.718 GB, free: 45.71 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01159/5.021, allocations: 3.692 MB / 2.722 GB, free: 41.91 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/5.022, allocations: 8.031 kB / 2.722 GB, free: 41.91 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001365/5.023, allocations: 324.7 kB / 2.722 GB, free: 41.58 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009077/5.032, allocations: 1.213 MB / 2.724 GB, free: 40.36 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/5.042, allocations: 3.333 MB / 2.727 GB, free: 36.95 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004514/5.043, allocations: 247.9 kB / 2.727 GB, free: 36.69 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/5.044, allocations: 232 kB / 2.727 GB, free: 36.46 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/5.054, allocations: 3.126 MB / 2.73 GB, free: 33.14 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/5.054, allocations: 11.94 kB / 2.73 GB, free: 33.13 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008576/5.055, allocations: 99.98 kB / 2.73 GB, free: 33.03 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.262e-05/5.055, allocations: 75.92 kB / 2.731 GB, free: 32.96 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009851/5.065, allocations: 2.764 MB / 2.733 GB, free: 30.18 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.02651/5.092, allocations: 13.14 MB / 2.746 GB, free: 16.47 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004235/5.096, allocations: 1.5 MB / 2.748 GB, free: 14.93 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/5.098, allocations: 1.781 MB / 2.749 GB, free: 12.76 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00369/5.101, allocations: 1.211 MB / 2.75 GB, free: 11.45 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 1.196e-05/5.101, allocations: 4 kB / 2.75 GB, free: 11.45 MB / 1.167 GB Notification: Performance of matching and sorting (n=118): time 0.0221/5.124, allocations: 4.27 MB / 2.755 GB, free: 7.129 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00028/5.124, allocations: 0.9396 MB / 2.756 GB, free: 5.965 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00636/5.13, allocations: 2.34 MB / 2.758 GB, free: 3.613 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005986/5.131, allocations: 57.7 kB / 2.758 GB, free: 3.551 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001862/5.133, allocations: 1.364 MB / 2.759 GB, free: 2.164 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000809/5.134, allocations: 410.2 kB / 2.76 GB, free: 1.758 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000293/5.134, allocations: 32 kB / 2.76 GB, free: 1.727 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001729/5.134, allocations: 373.9 kB / 2.76 GB, free: 1.355 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003868/5.138, allocations: 0.9407 MB / 2.761 GB, free: 424 kB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004523/5.143, allocations: 1.553 MB / 2.762 GB, free: 14.61 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004097/5.147, allocations: 1.081 MB / 2.763 GB, free: 13.53 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/5.147, allocations: 4 kB / 2.763 GB, free: 13.52 MB / 1.182 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01046/5.157, allocations: 2.91 MB / 2.766 GB, free: 10.59 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.002088/5.159, allocations: 5.041 MB / 2.771 GB, free: 5.137 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/5.159, allocations: 8 kB / 2.771 GB, free: 5.129 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002614/5.162, allocations: 0.7173 MB / 2.772 GB, free: 4.41 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003026/5.165, allocations: 499.2 kB / 2.772 GB, free: 3.922 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/5.168, allocations: 1.795 MB / 2.774 GB, free: 2.078 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006118/5.174, allocations: 0.5207 MB / 2.775 GB, free: 1.555 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006095/5.174, allocations: 107.9 kB / 2.775 GB, free: 1.449 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/5.174, allocations: 5.562 kB / 2.775 GB, free: 1.445 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7918/5.966, allocations: 2.574 MB / 2.777 GB, free: 167.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.903e-05/5.966, allocations: 11.84 kB / 2.777 GB, free: 167.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002978/5.969, allocations: 0.7248 MB / 2.778 GB, free: 167.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003341/5.973, allocations: 484.8 kB / 2.778 GB, free: 167.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/5.975, allocations: 1.798 MB / 2.78 GB, free: 166.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005368/5.98, allocations: 434.4 kB / 2.781 GB, free: 166.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004227/5.981, allocations: 104.3 kB / 2.781 GB, free: 166.2 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (170): * Single equations (assignments): 167 * 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 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002253/5.983, allocations: 0.6938 MB / 2.781 GB, free: 166.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009511/5.984, allocations: 276.4 kB / 2.782 GB, free: 166.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00993/5.994, allocations: 2.275 MB / 2.784 GB, free: 166 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.991e-05/5.994, allocations: 18.67 kB / 2.784 GB, free: 166 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/5.994, allocations: 6.781 kB / 2.784 GB, free: 166 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008748/6.003, allocations: 2.055 MB / 2.786 GB, free: 165.7 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01899/6.022, allocations: 6.986 MB / 2.793 GB, free: 163.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/6.022, allocations: 9.484 kB / 2.793 GB, free: 163.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/6.024, allocations: 291.9 kB / 2.793 GB, free: 163.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002603/6.027, allocations: 0.7091 MB / 2.794 GB, free: 163.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001764/6.027, allocations: 52.47 kB / 2.794 GB, free: 163.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/6.029, allocations: 1.788 MB / 2.796 GB, free: 162.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.48e-05/6.029, allocations: 12.56 kB / 2.796 GB, free: 162.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/6.042, allocations: 4.109 MB / 2.8 GB, free: 161.3 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002535/6.045, allocations: 0.6529 MB / 2.8 GB, free: 161 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001203/6.046, allocations: 43.25 kB / 2.8 GB, free: 161 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004259/6.05, allocations: 274.8 kB / 2.801 GB, free: 161 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/6.05, allocations: 114.8 kB / 2.801 GB, free: 161 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/6.051, allocations: 77.16 kB / 2.801 GB, free: 161 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.004663/6.055, allocations: 1.826 MB / 2.802 GB, free: 160.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 4.1e-07/6.055, allocations: 0 / 2.802 GB, free: 160.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.007974/6.063, allocations: 1.845 MB / 2.804 GB, free: 160.8 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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 (84): * Single equations (assignments): 78 * 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 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01593/6.079, allocations: 7.64 MB / 2.812 GB, free: 157.2 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0135/6.093, allocations: 3.489 MB / 2.815 GB, free: 157.1 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.263e-05/6.093, allocations: 6.938 kB / 2.815 GB, free: 157.1 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.00375/6.097, allocations: 1.034 MB / 2.816 GB, free: 157.1 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0076/6.104, allocations: 1.383 MB / 2.818 GB, free: 157 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05604/6.16, allocations: 26.91 MB / 2.844 GB, free: 141.8 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001887/6.162, allocations: 1.766 MB / 2.846 GB, free: 141.1 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.00465/6.167, allocations: 0.6886 MB / 2.846 GB, free: 141 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00197/6.169, allocations: 1.158 MB / 2.847 GB, free: 141 MB / 1.182 GB Notification: Performance of SimCode: time 9.42e-07/6.169, allocations: 1.031 kB / 2.847 GB, free: 141 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1694/6.338, allocations: 98.94 MB / 2.944 GB, free: 136.7 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002479/6.339, allocations: 275.5 kB / 2.944 GB, free: 136.3 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.245/11.58, allocations: 6.391 kB / 2.944 GB, free: 136.3 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat does not exist to compare? outputFormat=mat