Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 180.9 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.971/1.971, allocations: 205.4 MB / 0.5775 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009933/0.0009933, allocations: 99.97 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003864, allocations: 8.219 kB / 0.7963 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2722, allocations: 106.3 MB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.298/5.57, allocations: 2.204 GB / 3.105 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/5.571, allocations: 91.95 kB / 3.105 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.722/9.293, allocations: 1.007 GB / 4.112 GB, free: 21.83 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.509e-06/9.293, allocations: 0 / 4.112 GB, free: 21.83 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000446/9.293, allocations: 51.92 kB / 4.112 GB, free: 21.78 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.009685/9.303, allocations: 2.389 MB / 4.114 GB, free: 19.31 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/9.303, allocations: 8.031 kB / 4.114 GB, free: 19.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007107/9.304, allocations: 181.4 kB / 4.115 GB, free: 19.12 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004142/9.308, allocations: 0.6142 MB / 4.115 GB, free: 18.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004188/9.312, allocations: 1.442 MB / 4.117 GB, free: 17 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003706/9.312, allocations: 158.2 kB / 4.117 GB, free: 16.85 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002551/9.313, allocations: 128 kB / 4.117 GB, free: 16.72 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/9.316, allocations: 1.465 MB / 4.118 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/9.316, allocations: 7.938 kB / 4.118 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/9.316, allocations: 48 kB / 4.118 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-05/9.316, allocations: 38.23 kB / 4.118 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/9.318, allocations: 1.254 MB / 4.12 GB, free: 13.82 MB / 0.8855 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.008592/9.327, allocations: 5.882 MB / 4.125 GB, free: 7.617 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/9.329, allocations: 1.155 MB / 4.127 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004992/9.329, allocations: 307.9 kB / 4.127 GB, free: 6.055 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/9.33, allocations: 0.6371 MB / 4.127 GB, free: 5.402 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=87): time 3.347e-06/9.33, allocations: 3.938 kB / 4.127 GB, free: 5.398 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.01091/9.341, allocations: 4.4 MB / 4.132 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/9.341, allocations: 200.9 kB / 4.132 GB, free: 0.6289 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/9.343, allocations: 1.163 MB / 4.133 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001745/9.344, allocations: 45.7 kB / 4.133 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007342/9.344, allocations: 0.7254 MB / 4.134 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/9.345, allocations: 327.2 kB / 4.134 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/9.345, allocations: 20 kB / 4.134 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001432/9.345, allocations: 341.9 kB / 4.135 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009908/9.346, allocations: 481.7 kB / 4.135 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/9.347, allocations: 0.7103 MB / 4.136 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/9.359, allocations: 2.54 MB / 4.138 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/9.359, allocations: 0 / 4.138 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005332/9.364, allocations: 1.82 MB / 4.14 GB, free: 8.312 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006814/9.365, allocations: 1.296 MB / 4.141 GB, free: 6.902 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/9.365, allocations: 3.938 kB / 4.141 GB, free: 6.898 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/9.366, allocations: 454.9 kB / 4.142 GB, free: 6.441 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009627/9.367, allocations: 175.8 kB / 4.142 GB, free: 6.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6788/10.05, allocations: 7.153 MB / 4.149 GB, free: 143 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/10.05, allocations: 151.6 kB / 4.149 GB, free: 143 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/10.05, allocations: 38.78 kB / 4.149 GB, free: 143 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/10.05, allocations: 4.969 kB / 4.149 GB, free: 143 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004369/10.05, allocations: 1.66 MB / 4.151 GB, free: 142.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/10.05, allocations: 8.016 kB / 4.151 GB, free: 142.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/10.05, allocations: 453.2 kB / 4.151 GB, free: 142.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/10.06, allocations: 174.7 kB / 4.151 GB, free: 142.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009458/10.06, allocations: 8.179 MB / 4.159 GB, free: 137.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/10.07, allocations: 154.3 kB / 4.159 GB, free: 137.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/10.07, allocations: 38.44 kB / 4.159 GB, free: 137.6 MB / 0.9011 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00141/10.07, allocations: 0.5146 MB / 4.16 GB, free: 137.4 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005284/10.07, allocations: 165.8 kB / 4.16 GB, free: 137.4 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005173/10.07, allocations: 1.673 MB / 4.162 GB, free: 137.3 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/10.07, allocations: 9.219 kB / 4.162 GB, free: 137.3 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/10.07, allocations: 4.766 kB / 4.162 GB, free: 137.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004359/10.08, allocations: 1.533 MB / 4.163 GB, free: 137 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009859/10.09, allocations: 3.543 MB / 4.167 GB, free: 136.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/10.09, allocations: 4.094 kB / 4.167 GB, free: 136.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/10.09, allocations: 189.8 kB / 4.167 GB, free: 136.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000796/10.09, allocations: 240.9 kB / 4.167 GB, free: 136.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/10.09, allocations: 33.62 kB / 4.167 GB, free: 136.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004244/10.1, allocations: 2.688 MB / 4.17 GB, free: 134.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/10.1, allocations: 8.234 kB / 4.17 GB, free: 134.7 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006837/10.1, allocations: 2.703 MB / 4.172 GB, free: 134 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/10.1, allocations: 372 kB / 4.173 GB, free: 133.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003237/10.1, allocations: 29.12 kB / 4.173 GB, free: 133.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/10.11, allocations: 145.2 kB / 4.173 GB, free: 133.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/10.11, allocations: 64.98 kB / 4.173 GB, free: 133.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/10.11, allocations: 44.95 kB / 4.173 GB, free: 133.9 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002042/10.11, allocations: 0.9115 MB / 4.174 GB, free: 133.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.41e-07/10.11, allocations: 2.953 kB / 4.174 GB, free: 133.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.005185/10.11, allocations: 1.001 MB / 4.175 GB, free: 133.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.009349/10.12, allocations: 6.518 MB / 4.181 GB, free: 130.8 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004962/10.13, allocations: 2.954 MB / 4.184 GB, free: 129.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/10.13, allocations: 0 / 4.184 GB, free: 129.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/10.13, allocations: 0.7941 MB / 4.185 GB, free: 129.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004426/10.13, allocations: 0.8718 MB / 4.186 GB, free: 129.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02303/10.16, allocations: 12.82 MB / 4.198 GB, free: 124.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/10.16, allocations: 1.392 MB / 4.2 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002144/10.16, allocations: 346.7 kB / 4.2 GB, free: 123.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000899/10.16, allocations: 0.6309 MB / 4.201 GB, free: 123.3 MB / 0.9011 GB Notification: Performance of SimCode: time 1.674e-06/10.16, allocations: 0 / 4.201 GB, free: 123.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1436/10.3, allocations: 84.15 MB / 4.283 GB, free: 121.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/10.3, allocations: 276.4 kB / 4.283 GB, free: 120.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.845/15.15, allocations: 0 / 4.283 GB, free: 120.7 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)