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.203/2.203, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001103/0.001103, allocations: 184.1 kB / 487.4 MB, free: 5.035 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.499/1.499, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0008983, allocations: 110.9 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.136e-05/2.138e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2745, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.196/1.471, allocations: 435.6 MB / 1.631 GB, free: 2.797 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/1.471, allocations: 92.38 kB / 1.632 GB, free: 2.75 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.143/5.614, allocations: 1.061 GB / 2.692 GB, free: 158.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.936e-06/5.614, allocations: 0 / 2.692 GB, free: 158.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006763/5.615, allocations: 81.58 kB / 2.692 GB, free: 158.3 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.01302/5.628, allocations: 3.187 MB / 2.696 GB, free: 157.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/5.628, allocations: 12.56 kB / 2.696 GB, free: 157.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009434/5.637, allocations: 1.204 MB / 2.697 GB, free: 157 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007627/5.645, allocations: 3.305 MB / 2.7 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/5.645, allocations: 168.1 kB / 2.7 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004604/5.646, allocations: 142.9 kB / 2.7 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004082/5.65, allocations: 1.968 MB / 2.702 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00444/5.654, allocations: 2.461 MB / 2.705 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.985e-05/5.655, allocations: 7.25 kB / 2.705 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002704/5.655, allocations: 6.219 kB / 2.705 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.661e-05/5.655, allocations: 71.09 kB / 2.705 GB, free: 156 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.02012/5.675, allocations: 12.62 MB / 2.717 GB, free: 150.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/5.677, allocations: 1.122 MB / 2.718 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007326/5.677, allocations: 0.5923 MB / 2.719 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/5.679, allocations: 1.774 MB / 2.72 GB, free: 148.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/5.68, allocations: 0.9227 MB / 2.721 GB, free: 148.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 3.737e-06/5.68, allocations: 0 / 2.721 GB, free: 148.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=118): time 0.006713/5.687, allocations: 1.836 MB / 2.723 GB, free: 147.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001832/5.687, allocations: 0.9349 MB / 2.724 GB, free: 146.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/5.69, allocations: 1.852 MB / 2.726 GB, free: 146.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000278/5.69, allocations: 35.95 kB / 2.726 GB, free: 146.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/5.691, allocations: 1.394 MB / 2.727 GB, free: 146.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003794/5.691, allocations: 397.9 kB / 2.728 GB, free: 145.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/5.691, allocations: 0 / 2.728 GB, free: 145.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.086e-05/5.692, allocations: 368 kB / 2.728 GB, free: 145.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008716/5.692, allocations: 0.5951 MB / 2.729 GB, free: 145.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/5.694, allocations: 1.189 MB / 2.73 GB, free: 144.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003475/5.697, allocations: 0.9695 MB / 2.731 GB, free: 144.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/5.697, allocations: 0 / 2.731 GB, free: 144.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005841/5.703, allocations: 2.28 MB / 2.733 GB, free: 144.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008553/5.704, allocations: 4.939 MB / 2.738 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/5.704, allocations: 13.88 kB / 2.738 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/5.705, allocations: 0.5269 MB / 2.738 GB, free: 139.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/5.708, allocations: 0.49 MB / 2.739 GB, free: 139.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/5.709, allocations: 1.786 MB / 2.74 GB, free: 138.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004853/5.714, allocations: 443.7 kB / 2.741 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/5.714, allocations: 103.8 kB / 2.741 GB, free: 138.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/5.715, allocations: 3.5 kB / 2.741 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005103/5.72, allocations: 1.991 MB / 2.743 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/5.72, allocations: 12.91 kB / 2.743 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009949/5.721, allocations: 0.5328 MB / 2.743 GB, free: 138.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/5.723, allocations: 483.5 kB / 2.744 GB, free: 138.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/5.725, allocations: 1.779 MB / 2.746 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004151/5.729, allocations: 361.5 kB / 2.746 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/5.729, allocations: 107.7 kB / 2.746 GB, free: 137 MB / 1.167 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 () * 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.0004865/5.73, allocations: 162.8 kB / 2.746 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006319/5.736, allocations: 1.843 MB / 2.748 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004872/5.736, allocations: 248.2 kB / 2.748 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006208/5.743, allocations: 1.845 MB / 2.75 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/5.743, allocations: 14.72 kB / 2.75 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/5.743, allocations: 3.938 kB / 2.75 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005401/5.748, allocations: 1.681 MB / 2.752 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/5.76, allocations: 6.242 MB / 2.758 GB, free: 134.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/5.76, allocations: 11.31 kB / 2.758 GB, free: 134.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/5.762, allocations: 285 kB / 2.758 GB, free: 134.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/5.763, allocations: 0.524 MB / 2.759 GB, free: 134.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.655e-05/5.763, allocations: 35.91 kB / 2.759 GB, free: 134.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/5.765, allocations: 1.773 MB / 2.76 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/5.765, allocations: 10.53 kB / 2.76 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006821/5.771, allocations: 3.299 MB / 2.764 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/5.773, allocations: 0.6212 MB / 2.764 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004449/5.774, allocations: 19.08 kB / 2.764 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002995/5.777, allocations: 248.1 kB / 2.764 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/5.777, allocations: 112.7 kB / 2.765 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/5.777, allocations: 70.95 kB / 2.765 GB, free: 131.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001971/5.779, allocations: 1.386 MB / 2.766 GB, free: 131.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.5e-07/5.779, allocations: 0 / 2.766 GB, free: 131.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005729/5.785, allocations: 1.813 MB / 2.768 GB, free: 131.2 MB / 1.167 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) * 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.009174/5.794, allocations: 6.953 MB / 2.775 GB, free: 127.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003973/5.798, allocations: 2.553 MB / 2.777 GB, free: 127.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/5.798, allocations: 3.438 kB / 2.777 GB, free: 127.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/5.799, allocations: 0.7453 MB / 2.778 GB, free: 127.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005192/5.804, allocations: 1.072 MB / 2.779 GB, free: 127.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/5.815, allocations: 4.484 MB / 2.783 GB, free: 125.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/5.816, allocations: 1.77 MB / 2.785 GB, free: 125.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003601/5.82, allocations: 0.764 MB / 2.786 GB, free: 125.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/5.821, allocations: 1.1 MB / 2.787 GB, free: 125.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.633e-06/5.821, allocations: 0 / 2.787 GB, free: 125.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/5.944, allocations: 84.85 MB / 2.87 GB, free: 120.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/5.944, allocations: 193.8 kB / 2.87 GB, free: 120.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.813/10.76, allocations: 7.875 kB / 2.87 GB, free: 120.6 MB / 1.167 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