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.293/2.293, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001216/0.001217, allocations: 184.4 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.612/1.612, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 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.0009465/0.0009465, allocations: 103.8 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.834e-05/1.837e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2763, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.427, allocations: 435.7 MB / 1.632 GB, free: 2.906 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/1.428, allocations: 94.19 kB / 1.632 GB, free: 2.859 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.985/5.413, allocations: 1.062 GB / 2.694 GB, free: 150.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.194e-06/5.413, allocations: 0 / 2.694 GB, free: 150.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004367/5.414, allocations: 83.89 kB / 2.694 GB, free: 150.8 MB / 1.151 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.01059/5.424, allocations: 3.21 MB / 2.697 GB, free: 149.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/5.424, allocations: 11.41 kB / 2.697 GB, free: 149.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009183/5.433, allocations: 1.213 MB / 2.698 GB, free: 149.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007628/5.441, allocations: 3.319 MB / 2.701 GB, free: 149.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/5.441, allocations: 168.3 kB / 2.702 GB, free: 149 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004873/5.442, allocations: 132.7 kB / 2.702 GB, free: 149 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003988/5.446, allocations: 1.996 MB / 2.704 GB, free: 149 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/5.45, allocations: 2.504 MB / 2.706 GB, free: 148.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-05/5.45, allocations: 6.156 kB / 2.706 GB, free: 148.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003108/5.451, allocations: 14.52 kB / 2.706 GB, free: 148.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/5.451, allocations: 94.14 kB / 2.706 GB, free: 148.5 MB / 1.151 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.01914/5.47, allocations: 12.8 MB / 2.719 GB, free: 142.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/5.472, allocations: 1.152 MB / 2.72 GB, free: 142.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007852/5.472, allocations: 0.5777 MB / 2.72 GB, free: 142.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/5.474, allocations: 1.776 MB / 2.722 GB, free: 140.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/5.475, allocations: 0.9105 MB / 2.723 GB, free: 140.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=118): time 4.819e-06/5.475, allocations: 0 / 2.723 GB, free: 140.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=122): time 0.02474/5.5, allocations: 10.51 MB / 2.733 GB, free: 134.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002469/5.5, allocations: 0.9363 MB / 2.734 GB, free: 133.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/5.503, allocations: 1.831 MB / 2.736 GB, free: 133 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003314/5.503, allocations: 36.98 kB / 2.736 GB, free: 132.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/5.504, allocations: 1.391 MB / 2.737 GB, free: 132.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003891/5.505, allocations: 406.5 kB / 2.738 GB, free: 132.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/5.505, allocations: 0 / 2.738 GB, free: 132.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000102/5.505, allocations: 367.9 kB / 2.738 GB, free: 131.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008955/5.506, allocations: 0.5796 MB / 2.739 GB, free: 131.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/5.507, allocations: 1.193 MB / 2.74 GB, free: 131.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003587/5.511, allocations: 0.9492 MB / 2.741 GB, free: 131.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/5.511, allocations: 5.906 kB / 2.741 GB, free: 131.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006263/5.517, allocations: 2.342 MB / 2.743 GB, free: 130.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001077/5.518, allocations: 5.123 MB / 2.748 GB, free: 125.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/5.518, allocations: 17.48 kB / 2.748 GB, free: 125.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/5.52, allocations: 0.7072 MB / 2.749 GB, free: 125.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/5.522, allocations: 461.4 kB / 2.749 GB, free: 125.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003305/5.525, allocations: 2.262 MB / 2.751 GB, free: 124.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00468/5.53, allocations: 376.2 kB / 2.752 GB, free: 124.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/5.53, allocations: 110 kB / 2.752 GB, free: 124.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/5.53, allocations: 5.031 kB / 2.752 GB, free: 124.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005489/5.536, allocations: 2.051 MB / 2.754 GB, free: 124.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/5.536, allocations: 14.5 kB / 2.754 GB, free: 124.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/5.537, allocations: 0.7148 MB / 2.755 GB, free: 124.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/5.54, allocations: 439.3 kB / 2.755 GB, free: 124.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/5.543, allocations: 2.285 MB / 2.757 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004136/5.547, allocations: 297.1 kB / 2.758 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/5.547, allocations: 108.3 kB / 2.758 GB, free: 123.2 MB / 1.151 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 () * 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 {5 22,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0005278/5.548, allocations: 157.3 kB / 2.758 GB, free: 123 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004948/5.553, allocations: 1.755 MB / 2.76 GB, free: 122.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006103/5.553, allocations: 248.4 kB / 2.76 GB, free: 122.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005962/5.559, allocations: 1.827 MB / 2.762 GB, free: 122.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/5.559, allocations: 19.03 kB / 2.762 GB, free: 122.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/5.559, allocations: 4.75 kB / 2.762 GB, free: 122.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00494/5.564, allocations: 1.666 MB / 2.763 GB, free: 122.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/5.578, allocations: 6.147 MB / 2.769 GB, free: 120.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/5.578, allocations: 9.375 kB / 2.769 GB, free: 120.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/5.58, allocations: 282.4 kB / 2.77 GB, free: 120.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/5.581, allocations: 0.6085 MB / 2.77 GB, free: 120.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/5.581, allocations: 33.66 kB / 2.77 GB, free: 120.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002763/5.584, allocations: 2.023 MB / 2.772 GB, free: 119.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/5.584, allocations: 9.562 kB / 2.772 GB, free: 119.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007046/5.591, allocations: 3.312 MB / 2.775 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001865/5.593, allocations: 0.6084 MB / 2.776 GB, free: 117.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008822/5.594, allocations: 16.38 kB / 2.776 GB, free: 117.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003439/5.597, allocations: 243.8 kB / 2.776 GB, free: 117.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/5.597, allocations: 116.3 kB / 2.776 GB, free: 117.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/5.598, allocations: 65.33 kB / 2.776 GB, free: 117.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0027/5.6, allocations: 1.38 MB / 2.778 GB, free: 117.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/5.6, allocations: 2.375 kB / 2.778 GB, free: 117.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006916/5.607, allocations: 1.562 MB / 2.779 GB, free: 117.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * 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 (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,5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01069/5.618, allocations: 6.832 MB / 2.786 GB, free: 114.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006241/5.624, allocations: 2.786 MB / 2.789 GB, free: 113.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.21e-05/5.624, allocations: 4.031 kB / 2.789 GB, free: 113.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002083/5.626, allocations: 0.8381 MB / 2.789 GB, free: 113.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006427/5.633, allocations: 1.075 MB / 2.791 GB, free: 113.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/5.648, allocations: 4.374 MB / 2.795 GB, free: 112.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/5.649, allocations: 1.77 MB / 2.797 GB, free: 111.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004863/5.654, allocations: 0.724 MB / 2.797 GB, free: 111.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001869/5.656, allocations: 1.121 MB / 2.798 GB, free: 111.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.242e-06/5.656, allocations: 0 / 2.798 GB, free: 111.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1323/5.788, allocations: 86.27 MB / 2.883 GB, free: 107.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/5.789, allocations: 185.8 kB / 2.883 GB, free: 107.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.057/10.85, allocations: 2.734 kB / 2.883 GB, free: 107.1 MB / 1.151 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