Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.61/2.61, allocations: 390.5 MB / 398 MB, free: 10.99 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.001163/0.001163, allocations: 175.9 kB / 491.2 MB, free: 1.605 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.595/1.595, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001011/0.001011, allocations: 99.45 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.16e-05/2.163e-05, allocations: 5.641 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.27, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.417, allocations: 436.5 MB / 1.639 GB, free: 10.24 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/1.417, allocations: 89.83 kB / 1.639 GB, free: 10.2 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.9/5.318, allocations: 1.062 GB / 2.701 GB, free: 160.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.643e-06/5.318, allocations: 1.688 kB / 2.701 GB, free: 160.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000613/5.318, allocations: 86.66 kB / 2.701 GB, free: 160.1 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.01036/5.329, allocations: 3.21 MB / 2.704 GB, free: 159 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/5.329, allocations: 10.75 kB / 2.704 GB, free: 159 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009624/5.338, allocations: 1.214 MB / 2.705 GB, free: 158.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00905/5.347, allocations: 3.318 MB / 2.709 GB, free: 158.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003076/5.348, allocations: 164.6 kB / 2.709 GB, free: 158.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008576/5.349, allocations: 143.6 kB / 2.709 GB, free: 158.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005679/5.354, allocations: 1.991 MB / 2.711 GB, free: 158.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008016/5.362, allocations: 2.506 MB / 2.713 GB, free: 157.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/5.363, allocations: 6.844 kB / 2.713 GB, free: 157.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006672/5.363, allocations: 11.16 kB / 2.713 GB, free: 157.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/5.363, allocations: 91.02 kB / 2.713 GB, free: 157.8 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.02168/5.385, allocations: 12.82 MB / 2.726 GB, free: 152.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/5.387, allocations: 1.138 MB / 2.727 GB, free: 152 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008407/5.388, allocations: 0.5754 MB / 2.728 GB, free: 152 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001582/5.389, allocations: 1.781 MB / 2.729 GB, free: 150 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/5.391, allocations: 0.9075 MB / 2.73 GB, free: 149.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 3.597e-06/5.391, allocations: 0 / 2.73 GB, free: 149.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.03371/5.424, allocations: 10.51 MB / 2.74 GB, free: 143.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002178/5.425, allocations: 0.936 MB / 2.741 GB, free: 142.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004184/5.429, allocations: 1.837 MB / 2.743 GB, free: 142.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005724/5.429, allocations: 29.42 kB / 2.743 GB, free: 142.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001669/5.431, allocations: 1.395 MB / 2.745 GB, free: 141.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007612/5.432, allocations: 407 kB / 2.745 GB, free: 141.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/5.432, allocations: 3.656 kB / 2.745 GB, free: 141.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001361/5.432, allocations: 364.5 kB / 2.745 GB, free: 141.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/5.434, allocations: 0.5854 MB / 2.746 GB, free: 141.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/5.436, allocations: 1.194 MB / 2.747 GB, free: 140.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006178/5.442, allocations: 0.9535 MB / 2.748 GB, free: 140.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.37e-05/5.442, allocations: 6.344 kB / 2.748 GB, free: 140.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01112/5.453, allocations: 2.333 MB / 2.75 GB, free: 140.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001799/5.455, allocations: 5.132 MB / 2.755 GB, free: 134.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.533e-05/5.455, allocations: 14.28 kB / 2.755 GB, free: 134.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00261/5.458, allocations: 0.7154 MB / 2.756 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003959/5.462, allocations: 462.5 kB / 2.756 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005457/5.468, allocations: 2.269 MB / 2.759 GB, free: 133.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007625/5.475, allocations: 358.8 kB / 2.759 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006168/5.476, allocations: 115.5 kB / 2.759 GB, free: 133.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/5.476, allocations: 3.969 kB / 2.759 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009316/5.485, allocations: 2.052 MB / 2.761 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/5.485, allocations: 11.5 kB / 2.761 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/5.488, allocations: 0.7091 MB / 2.762 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003745/5.491, allocations: 447.7 kB / 2.762 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005256/5.497, allocations: 2.273 MB / 2.764 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006771/5.503, allocations: 304.4 kB / 2.765 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006329/5.504, allocations: 102.5 kB / 2.765 GB, free: 132.5 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 () * 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.0008718/5.505, allocations: 160.9 kB / 2.765 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008647/5.514, allocations: 1.75 MB / 2.767 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/5.515, allocations: 240.2 kB / 2.767 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009632/5.525, allocations: 1.835 MB / 2.769 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.984e-05/5.525, allocations: 14.09 kB / 2.769 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/5.525, allocations: 5.125 kB / 2.769 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008108/5.533, allocations: 1.668 MB / 2.77 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/5.551, allocations: 6.146 MB / 2.776 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-05/5.551, allocations: 7.5 kB / 2.776 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002403/5.554, allocations: 278.2 kB / 2.777 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/5.556, allocations: 0.6082 MB / 2.777 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/5.556, allocations: 41.62 kB / 2.777 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004485/5.56, allocations: 2.031 MB / 2.779 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.612e-05/5.56, allocations: 7.594 kB / 2.779 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01103/5.571, allocations: 3.304 MB / 2.783 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002793/5.574, allocations: 0.6069 MB / 2.783 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001447/5.576, allocations: 20.97 kB / 2.783 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005548/5.581, allocations: 241.5 kB / 2.783 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/5.582, allocations: 109.6 kB / 2.783 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002979/5.582, allocations: 73.58 kB / 2.784 GB, free: 127.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003348/5.585, allocations: 1.372 MB / 2.785 GB, free: 127.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.573e-06/5.585, allocations: 2.906 kB / 2.785 GB, free: 127.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009523/5.595, allocations: 1.567 MB / 2.786 GB, free: 126.9 MB / 1.167 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.01598/5.611, allocations: 6.841 MB / 2.793 GB, free: 123.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00927/5.62, allocations: 2.78 MB / 2.796 GB, free: 123.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.585e-05/5.62, allocations: 4.219 kB / 2.796 GB, free: 123.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003398/5.624, allocations: 0.8381 MB / 2.797 GB, free: 123.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008806/5.633, allocations: 1.081 MB / 2.798 GB, free: 123.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/5.65, allocations: 4.371 MB / 2.802 GB, free: 121.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/5.652, allocations: 1.774 MB / 2.804 GB, free: 121.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00389/5.655, allocations: 0.7111 MB / 2.804 GB, free: 121.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/5.657, allocations: 1.122 MB / 2.805 GB, free: 121.1 MB / 1.167 GB Notification: Performance of SimCode: time 8.42e-07/5.657, allocations: 0 / 2.805 GB, free: 121.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1422/5.799, allocations: 86.29 MB / 2.89 GB, free: 116.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/5.799, allocations: 199.7 kB / 2.89 GB, free: 116.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.041/11.84, allocations: 0 / 2.89 GB, free: 116.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic_res.mat does not exist to compare? outputFormat=mat