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.489/2.489, allocations: 393.5 MB / 408.4 MB, free: 11.09 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.001231/0.001231, allocations: 187.5 kB / 0.4901 GB, free: 2.281 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.642/1.642, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.001072/0.001072, allocations: 104.1 kB / 0.9396 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004452/0.0004454, allocations: 9.984 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3449, allocations: 143 MB / 1.229 GB, free: 85.42 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.336/1.681, allocations: 437.3 MB / 1.656 GB, free: 4.312 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/1.682, allocations: 93.7 kB / 1.656 GB, free: 4.262 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.847/5.528, allocations: 1.071 GB / 2.727 GB, free: 10.12 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.423e-06/5.528, allocations: 0 / 2.727 GB, free: 10.12 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003368/5.529, allocations: 87.97 kB / 2.727 GB, free: 10.04 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.01226/5.541, allocations: 3.724 MB / 2.731 GB, free: 6.207 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/5.541, allocations: 12.02 kB / 2.731 GB, free: 6.195 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001424/5.543, allocations: 328.8 kB / 2.731 GB, free: 5.863 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009414/5.552, allocations: 1.213 MB / 2.732 GB, free: 4.645 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008133/5.56, allocations: 3.34 MB / 2.735 GB, free: 1.227 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/5.56, allocations: 251.9 kB / 2.736 GB, free: 0.9648 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004827/5.561, allocations: 232 kB / 2.736 GB, free: 0.7383 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008942/5.57, allocations: 3.183 MB / 2.739 GB, free: 13.35 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.239e-05/5.57, allocations: 3.938 kB / 2.739 GB, free: 13.35 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003833/5.57, allocations: 100 kB / 2.739 GB, free: 13.25 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/5.571, allocations: 96.27 kB / 2.739 GB, free: 13.15 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/5.581, allocations: 2.8 MB / 2.742 GB, free: 10.34 MB / 1.182 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.9623/6.543, allocations: 13.35 MB / 2.755 GB, free: 150.9 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005164/6.548, allocations: 1.524 MB / 2.757 GB, free: 150.7 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001845/6.55, allocations: 1.782 MB / 2.758 GB, free: 148.7 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004235/6.554, allocations: 1.2 MB / 2.759 GB, free: 148.4 MB / 1.182 GB Notification: Performance of pre-optimization done (n=118): time 5.78e-06/6.554, allocations: 0.9375 kB / 2.759 GB, free: 148.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=122): time 0.04549/6.6, allocations: 13.32 MB / 2.772 GB, free: 142.4 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003778/6.6, allocations: 0.9392 MB / 2.773 GB, free: 141.3 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006773/6.607, allocations: 2.43 MB / 2.776 GB, free: 141.1 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0006215/6.608, allocations: 62.77 kB / 2.776 GB, free: 141.1 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001721/6.61, allocations: 1.361 MB / 2.777 GB, free: 140.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007583/6.61, allocations: 429.9 kB / 2.778 GB, free: 140.5 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/6.61, allocations: 37.16 kB / 2.778 GB, free: 140.5 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001424/6.611, allocations: 366.1 kB / 2.778 GB, free: 140.2 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003857/6.614, allocations: 0.9272 MB / 2.779 GB, free: 140.2 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004771/6.619, allocations: 1.557 MB / 2.78 GB, free: 139.5 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004497/6.624, allocations: 1.071 MB / 2.781 GB, free: 139.5 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/6.624, allocations: 5.75 kB / 2.781 GB, free: 139.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01247/6.636, allocations: 2.979 MB / 2.784 GB, free: 139.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001752/6.638, allocations: 5.267 MB / 2.789 GB, free: 133.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.819e-05/6.638, allocations: 13.5 kB / 2.789 GB, free: 133.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003587/6.642, allocations: 0.9259 MB / 2.79 GB, free: 133.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003111/6.645, allocations: 459.1 kB / 2.791 GB, free: 133.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/6.648, allocations: 2.186 MB / 2.793 GB, free: 132.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006441/6.654, allocations: 422.1 kB / 2.793 GB, free: 132.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004849/6.655, allocations: 109.6 kB / 2.793 GB, free: 132.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/6.655, allocations: 7.906 kB / 2.793 GB, free: 132.6 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008877/6.664, allocations: 2.647 MB / 2.796 GB, free: 132.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.56e-05/6.664, allocations: 15.42 kB / 2.796 GB, free: 132.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002815/6.667, allocations: 0.9236 MB / 2.797 GB, free: 132.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002493/6.669, allocations: 436.1 kB / 2.797 GB, free: 132.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/6.672, allocations: 2.186 MB / 2.799 GB, free: 131.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005634/6.678, allocations: 353.3 kB / 2.8 GB, free: 131.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003796/6.678, allocations: 109.1 kB / 2.8 GB, free: 131.5 MB / 1.182 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.002716/6.681, allocations: 0.6927 MB / 2.801 GB, free: 131.3 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/6.682, allocations: 294.7 kB / 2.801 GB, free: 131.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00944/6.692, allocations: 2.352 MB / 2.803 GB, free: 131 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.385e-05/6.692, allocations: 23.05 kB / 2.803 GB, free: 131 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/6.692, allocations: 3.5 kB / 2.803 GB, free: 131 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007996/6.7, allocations: 2.119 MB / 2.805 GB, free: 130.7 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01644/6.716, allocations: 6.765 MB / 2.812 GB, free: 128.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/6.716, allocations: 6.688 kB / 2.812 GB, free: 128.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/6.718, allocations: 280.7 kB / 2.812 GB, free: 128.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002436/6.72, allocations: 0.7977 MB / 2.813 GB, free: 128.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/6.721, allocations: 49.95 kB / 2.813 GB, free: 128.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/6.723, allocations: 1.96 MB / 2.815 GB, free: 127.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/6.723, allocations: 11.78 kB / 2.815 GB, free: 127.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/6.735, allocations: 4.116 MB / 2.819 GB, free: 126.3 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002864/6.738, allocations: 0.6576 MB / 2.82 GB, free: 126 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007146/6.739, allocations: 33.5 kB / 2.82 GB, free: 126 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003552/6.742, allocations: 277.8 kB / 2.82 GB, free: 126 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/6.743, allocations: 113.1 kB / 2.82 GB, free: 126 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/6.743, allocations: 76 kB / 2.82 GB, free: 126 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003862/6.747, allocations: 1.906 MB / 2.822 GB, free: 125.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.9e-07/6.747, allocations: 0 / 2.822 GB, free: 125.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.007559/6.754, allocations: 1.661 MB / 2.824 GB, free: 125.9 MB / 1.182 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.01703/6.771, allocations: 7.533 MB / 2.831 GB, free: 122.5 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0142/6.786, allocations: 3.546 MB / 2.834 GB, free: 122.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 4.633e-05/6.786, allocations: 3.875 kB / 2.834 GB, free: 122.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.004164/6.79, allocations: 1.046 MB / 2.835 GB, free: 122.3 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/6.8, allocations: 1.495 MB / 2.837 GB, free: 122.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05657/6.856, allocations: 27.64 MB / 2.864 GB, free: 106.5 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001754/6.858, allocations: 1.767 MB / 2.866 GB, free: 105.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.005548/6.864, allocations: 0.6615 MB / 2.866 GB, free: 105.7 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0025/6.866, allocations: 1.177 MB / 2.867 GB, free: 105.7 MB / 1.182 GB Notification: Performance of SimCode: time 1.983e-06/6.866, allocations: 0 / 2.867 GB, free: 105.7 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1928/7.059, allocations: 104.1 MB / 2.969 GB, free: 100.7 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/7.059, allocations: 282.4 kB / 2.969 GB, free: 100.4 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.053/13.11, allocations: 8 kB / 2.969 GB, free: 100.4 MB / 1.182 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