Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.296/2.296, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001169/0.001169, allocations: 174.5 kB / 498.1 MB, free: 5.746 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.592/1.592, allocations: 223.2 MB / 0.7948 GB, free: 18.9 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.001066/0.001066, allocations: 106.4 kB / 0.9346 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004484, allocations: 10.34 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.296, allocations: 142.4 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.466, allocations: 436.5 MB / 1.649 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/1.466, allocations: 96.45 kB / 1.649 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.708/5.174, allocations: 1.071 GB / 2.72 GB, free: 24.15 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.001e-06/5.174, allocations: 0 / 2.72 GB, free: 24.15 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004688/5.174, allocations: 79.92 kB / 2.72 GB, free: 24.07 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01127/5.186, allocations: 3.716 MB / 2.724 GB, free: 20.25 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/5.186, allocations: 11.97 kB / 2.724 GB, free: 20.24 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001132/5.187, allocations: 328.8 kB / 2.724 GB, free: 19.91 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009148/5.196, allocations: 1.213 MB / 2.725 GB, free: 18.69 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00823/5.204, allocations: 3.344 MB / 2.728 GB, free: 15.27 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/5.205, allocations: 255.9 kB / 2.729 GB, free: 15 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007839/5.205, allocations: 236 kB / 2.729 GB, free: 14.77 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008795/5.214, allocations: 3.175 MB / 2.732 GB, free: 11.39 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.726e-05/5.214, allocations: 7.938 kB / 2.732 GB, free: 11.39 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005372/5.215, allocations: 99.98 kB / 2.732 GB, free: 11.29 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.83e-05/5.215, allocations: 96.2 kB / 2.732 GB, free: 11.19 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008783/5.224, allocations: 2.803 MB / 2.735 GB, free: 8.371 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.7845/6.008, allocations: 13.34 MB / 2.748 GB, free: 139.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/6.013, allocations: 1.524 MB / 2.749 GB, free: 139.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/6.014, allocations: 1.778 MB / 2.751 GB, free: 137.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003757/6.018, allocations: 1.2 MB / 2.752 GB, free: 136.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 4.188e-06/6.018, allocations: 0 / 2.752 GB, free: 136.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.04002/6.058, allocations: 13.32 MB / 2.765 GB, free: 130.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002593/6.058, allocations: 0.9431 MB / 2.766 GB, free: 129.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005166/6.063, allocations: 2.431 MB / 2.769 GB, free: 129.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000444/6.064, allocations: 57.33 kB / 2.769 GB, free: 129.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001519/6.065, allocations: 1.366 MB / 2.77 GB, free: 129.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005601/6.066, allocations: 424.6 kB / 2.77 GB, free: 129 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/6.066, allocations: 33.06 kB / 2.77 GB, free: 129 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001334/6.066, allocations: 365.8 kB / 2.771 GB, free: 128.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003683/6.07, allocations: 0.927 MB / 2.772 GB, free: 128.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004224/6.074, allocations: 1.557 MB / 2.773 GB, free: 128 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00406/6.078, allocations: 1.072 MB / 2.774 GB, free: 127.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/6.078, allocations: 5.391 kB / 2.774 GB, free: 127.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01105/6.089, allocations: 2.989 MB / 2.777 GB, free: 127.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001923/6.091, allocations: 5.259 MB / 2.782 GB, free: 122.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.953e-05/6.091, allocations: 16.59 kB / 2.782 GB, free: 122.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003386/6.095, allocations: 0.9226 MB / 2.783 GB, free: 122.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/6.098, allocations: 460.8 kB / 2.784 GB, free: 122.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/6.101, allocations: 2.196 MB / 2.786 GB, free: 121.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007/6.108, allocations: 419.2 kB / 2.786 GB, free: 121.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000556/6.109, allocations: 105.5 kB / 2.786 GB, free: 121.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/6.109, allocations: 3.719 kB / 2.786 GB, free: 121.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009523/6.118, allocations: 2.649 MB / 2.789 GB, free: 121 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.293e-05/6.119, allocations: 11.72 kB / 2.789 GB, free: 121 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002817/6.121, allocations: 0.9251 MB / 2.79 GB, free: 121 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/6.124, allocations: 441.4 kB / 2.79 GB, free: 121 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/6.127, allocations: 2.185 MB / 2.792 GB, free: 119.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00513/6.132, allocations: 352.2 kB / 2.793 GB, free: 119.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003609/6.132, allocations: 107.8 kB / 2.793 GB, free: 119.9 MB / 1.167 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 (152): * Single equations (assignments): 149 * 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 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.002493/6.135, allocations: 0.7138 MB / 2.793 GB, free: 119.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/6.136, allocations: 283.5 kB / 2.794 GB, free: 119.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/6.146, allocations: 2.348 MB / 2.796 GB, free: 119.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/6.146, allocations: 15.78 kB / 2.796 GB, free: 119.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/6.146, allocations: 3.969 kB / 2.796 GB, free: 119.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008045/6.154, allocations: 2.127 MB / 2.798 GB, free: 119.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01716/6.171, allocations: 6.765 MB / 2.805 GB, free: 117.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/6.171, allocations: 7.281 kB / 2.805 GB, free: 117.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/6.173, allocations: 279 kB / 2.805 GB, free: 117.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002532/6.176, allocations: 0.7951 MB / 2.806 GB, free: 117.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/6.176, allocations: 50.94 kB / 2.806 GB, free: 117.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/6.178, allocations: 1.961 MB / 2.808 GB, free: 116.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.447e-06/6.178, allocations: 11.09 kB / 2.808 GB, free: 116.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/6.19, allocations: 4.122 MB / 2.812 GB, free: 114.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002538/6.193, allocations: 0.655 MB / 2.812 GB, free: 114.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/6.194, allocations: 35.34 kB / 2.812 GB, free: 114.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004268/6.198, allocations: 283.3 kB / 2.813 GB, free: 114.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/6.199, allocations: 106.7 kB / 2.813 GB, free: 114.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/6.199, allocations: 75.5 kB / 2.813 GB, free: 114.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004717/6.204, allocations: 1.902 MB / 2.815 GB, free: 114.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.51e-07/6.204, allocations: 4.906 kB / 2.815 GB, free: 114.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008534/6.212, allocations: 1.656 MB / 2.816 GB, free: 114.4 MB / 1.167 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 (80): * Single equations (assignments): 74 * 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,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01714/6.229, allocations: 7.544 MB / 2.824 GB, free: 110.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01384/6.243, allocations: 3.541 MB / 2.827 GB, free: 110.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.302e-05/6.243, allocations: 4 kB / 2.827 GB, free: 110.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004141/6.247, allocations: 1.048 MB / 2.828 GB, free: 110.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009089/6.257, allocations: 1.49 MB / 2.83 GB, free: 110.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05832/6.315, allocations: 27.64 MB / 2.857 GB, free: 94.95 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002097/6.317, allocations: 1.768 MB / 2.858 GB, free: 94.21 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005061/6.322, allocations: 0.6599 MB / 2.859 GB, free: 94.19 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002218/6.324, allocations: 1.172 MB / 2.86 GB, free: 94.18 MB / 1.167 GB Notification: Performance of SimCode: time 1.062e-06/6.324, allocations: 0 / 2.86 GB, free: 94.18 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1696/6.494, allocations: 104.1 MB / 2.962 GB, free: 89.14 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/6.494, allocations: 269.1 kB / 2.962 GB, free: 88.79 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.582/12.08, allocations: 3.594 kB / 2.962 GB, free: 88.79 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic_res.mat does not exist to compare? outputFormat=mat