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.339/2.339, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001288/0.001288, allocations: 176.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.3 MB / 0.7915 GB, free: 5.363 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.0009518/0.0009518, allocations: 91.75 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.415e-05, allocations: 6.266 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.263, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.323, allocations: 437.2 MB / 1.646 GB, free: 13.1 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/1.323, allocations: 87.95 kB / 1.646 GB, free: 13.02 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 4.26/5.583, allocations: 1.067 GB / 2.713 GB, free: 168.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.813e-06/5.583, allocations: 0 / 2.713 GB, free: 168.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004907/5.584, allocations: 83.47 kB / 2.713 GB, free: 168.5 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.009816/5.593, allocations: 3.215 MB / 2.716 GB, free: 167 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/5.593, allocations: 11.19 kB / 2.717 GB, free: 167 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001152/5.595, allocations: 320.7 kB / 2.717 GB, free: 167 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008975/5.604, allocations: 1.216 MB / 2.718 GB, free: 166.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008599/5.612, allocations: 3.316 MB / 2.721 GB, free: 166.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/5.613, allocations: 252.7 kB / 2.721 GB, free: 166.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008815/5.614, allocations: 234.9 kB / 2.722 GB, free: 166.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006683/5.62, allocations: 2.829 MB / 2.724 GB, free: 165.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-05/5.62, allocations: 7.562 kB / 2.724 GB, free: 165.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005484/5.621, allocations: 105.5 kB / 2.725 GB, free: 165.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/5.621, allocations: 104.2 kB / 2.725 GB, free: 165.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004611/5.626, allocations: 2.136 MB / 2.727 GB, free: 165.6 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.02082/5.646, allocations: 13.35 MB / 2.74 GB, free: 159.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/5.648, allocations: 1.196 MB / 2.741 GB, free: 159.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008388/5.649, allocations: 0.609 MB / 2.742 GB, free: 159.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/5.65, allocations: 1.786 MB / 2.743 GB, free: 157.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/5.652, allocations: 0.9376 MB / 2.744 GB, free: 157.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 3.377e-06/5.652, allocations: 0 / 2.744 GB, free: 157.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.01553/5.667, allocations: 10.04 MB / 2.754 GB, free: 151.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002431/5.668, allocations: 0.9393 MB / 2.755 GB, free: 150.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00378/5.671, allocations: 2.347 MB / 2.757 GB, free: 149.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004362/5.672, allocations: 58.14 kB / 2.757 GB, free: 149.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/5.673, allocations: 1.367 MB / 2.759 GB, free: 149.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004654/5.674, allocations: 430.5 kB / 2.759 GB, free: 149.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/5.674, allocations: 34.56 kB / 2.759 GB, free: 149.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001069/5.674, allocations: 363.7 kB / 2.759 GB, free: 148.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/5.675, allocations: 0.6113 MB / 2.76 GB, free: 148.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/5.676, allocations: 1.235 MB / 2.761 GB, free: 148.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/5.678, allocations: 0.7648 MB / 2.762 GB, free: 148.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/5.678, allocations: 2.656 kB / 2.762 GB, free: 148.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004313/5.682, allocations: 2.305 MB / 2.764 GB, free: 147.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001198/5.683, allocations: 5.253 MB / 2.769 GB, free: 142.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/5.683, allocations: 17.78 kB / 2.769 GB, free: 142.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/5.686, allocations: 0.8772 MB / 2.77 GB, free: 142.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002451/5.688, allocations: 459.2 kB / 2.771 GB, free: 142.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/5.691, allocations: 2.164 MB / 2.773 GB, free: 141.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005254/5.696, allocations: 426.7 kB / 2.773 GB, free: 141.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003161/5.697, allocations: 109.4 kB / 2.773 GB, free: 141.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/5.697, allocations: 7.828 kB / 2.773 GB, free: 141.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00351/5.7, allocations: 2.029 MB / 2.775 GB, free: 141.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/5.7, allocations: 13.98 kB / 2.775 GB, free: 141.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/5.703, allocations: 0.8745 MB / 2.776 GB, free: 141.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/5.705, allocations: 447.1 kB / 2.777 GB, free: 141.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/5.708, allocations: 2.162 MB / 2.779 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004731/5.713, allocations: 364 kB / 2.779 GB, free: 140 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/5.713, allocations: 107.1 kB / 2.779 GB, free: 140 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,5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0006085/5.713, allocations: 215.5 kB / 2.779 GB, free: 139.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008455/5.714, allocations: 294.6 kB / 2.78 GB, free: 139.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006363/5.721, allocations: 1.713 MB / 2.781 GB, free: 139.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.505e-05/5.721, allocations: 15.88 kB / 2.781 GB, free: 139.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/5.721, allocations: 3.75 kB / 2.781 GB, free: 139.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004428/5.725, allocations: 1.478 MB / 2.783 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/5.743, allocations: 6.295 MB / 2.789 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/5.743, allocations: 7.062 kB / 2.789 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002391/5.746, allocations: 274.6 kB / 2.789 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002362/5.748, allocations: 0.7332 MB / 2.79 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/5.748, allocations: 51.69 kB / 2.79 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/5.751, allocations: 1.93 MB / 2.792 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/5.751, allocations: 8.688 kB / 2.792 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004853/5.755, allocations: 3.279 MB / 2.795 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002134/5.758, allocations: 0.6478 MB / 2.796 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005778/5.758, allocations: 32.5 kB / 2.796 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003359/5.762, allocations: 280.8 kB / 2.796 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/5.762, allocations: 112.8 kB / 2.796 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/5.762, allocations: 74.48 kB / 2.796 GB, free: 134.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002932/5.765, allocations: 1.819 MB / 2.798 GB, free: 134.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/5.765, allocations: 0 / 2.798 GB, free: 134.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005612/5.771, allocations: 1.656 MB / 2.8 GB, free: 134.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.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.007583/5.778, allocations: 6.675 MB / 2.806 GB, free: 130.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007142/5.785, allocations: 2.959 MB / 2.809 GB, free: 130.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/5.785, allocations: 2.469 kB / 2.809 GB, free: 130.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002203/5.788, allocations: 0.8754 MB / 2.81 GB, free: 130.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008318/5.796, allocations: 1.497 MB / 2.811 GB, free: 130.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/5.81, allocations: 4.569 MB / 2.816 GB, free: 129.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/5.812, allocations: 1.783 MB / 2.817 GB, free: 128.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005718/5.817, allocations: 0.8387 MB / 2.818 GB, free: 128.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001761/5.819, allocations: 1.118 MB / 2.819 GB, free: 128.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.442e-06/5.819, allocations: 2.156 kB / 2.819 GB, free: 128.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1719/5.991, allocations: 107.8 MB / 2.925 GB, free: 66.05 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/5.991, allocations: 254.3 kB / 2.925 GB, free: 65.71 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.341/12.33, allocations: 0 / 2.925 GB, free: 65.71 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