Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.097/2.097, allocations: 251 MB / 265.9 MB, free: 11.7 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.001823/0.001823, allocations: 177.2 kB / 325.5 MB, free: 2.93 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.273/2.273, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001143/0.001143, allocations: 102.5 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004839, allocations: 12.09 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2306, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.244/7.475, allocations: 2.204 GB / 3.103 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/7.475, allocations: 98.53 kB / 3.103 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.264/12.74, allocations: 1.007 GB / 4.111 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.256e-06/12.74, allocations: 0 / 4.111 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002343/12.74, allocations: 49.81 kB / 4.111 GB, free: 121.8 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.008137/12.75, allocations: 2.384 MB / 4.113 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/12.75, allocations: 10.03 kB / 4.113 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007395/12.75, allocations: 180 kB / 4.113 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006124/12.75, allocations: 0.616 MB / 4.114 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005195/12.76, allocations: 1.453 MB / 4.115 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006733/12.76, allocations: 157.1 kB / 4.115 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004704/12.76, allocations: 121.8 kB / 4.115 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004961/12.77, allocations: 1.479 MB / 4.117 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.627e-05/12.77, allocations: 0 / 4.117 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/12.77, allocations: 45.97 kB / 4.117 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.593e-05/12.77, allocations: 40.08 kB / 4.117 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005159/12.77, allocations: 1.257 MB / 4.118 GB, free: 120.4 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.0139/12.79, allocations: 5.891 MB / 4.124 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003632/12.79, allocations: 1.146 MB / 4.125 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008153/12.79, allocations: 314 kB / 4.125 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00216/12.79, allocations: 0.6367 MB / 4.126 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=87): time 4.648e-06/12.79, allocations: 1.594 kB / 4.126 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.03/12.82, allocations: 4.397 MB / 4.13 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/12.82, allocations: 200.9 kB / 4.13 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004232/12.83, allocations: 1.164 MB / 4.132 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004195/12.83, allocations: 48.2 kB / 4.132 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001219/12.83, allocations: 0.723 MB / 4.132 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006064/12.83, allocations: 331.4 kB / 4.133 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/12.83, allocations: 20.59 kB / 4.133 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001191/12.83, allocations: 339.7 kB / 4.133 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/12.83, allocations: 480.8 kB / 4.133 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002833/12.83, allocations: 0.7099 MB / 4.134 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02192/12.86, allocations: 2.534 MB / 4.137 GB, free: 115 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/12.86, allocations: 3.062 kB / 4.137 GB, free: 115 MB / 0.8855 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007722/12.86, allocations: 1.825 MB / 4.138 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003217/12.86, allocations: 1.297 MB / 4.14 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/12.86, allocations: 3.875 kB / 4.14 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/12.87, allocations: 454.5 kB / 4.14 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/12.87, allocations: 169.1 kB / 4.14 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/12.88, allocations: 7.163 MB / 4.147 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002909/12.88, allocations: 156.3 kB / 4.147 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000292/12.88, allocations: 39.94 kB / 4.147 GB, free: 109 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/12.88, allocations: 3.625 kB / 4.147 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007539/12.89, allocations: 1.667 MB / 4.149 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/12.89, allocations: 5.828 kB / 4.149 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002201/12.89, allocations: 445.3 kB / 4.15 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/12.9, allocations: 173.2 kB / 4.15 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01429/12.91, allocations: 8.192 MB / 4.158 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/12.91, allocations: 156.1 kB / 4.158 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002074/12.91, allocations: 37.58 kB / 4.158 GB, free: 103.5 MB / 0.8855 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.001344/12.91, allocations: 0.5128 MB / 4.158 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005005/12.92, allocations: 167.4 kB / 4.159 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007154/12.92, allocations: 1.665 MB / 4.16 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/12.92, allocations: 7.562 kB / 4.16 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/12.92, allocations: 3.953 kB / 4.16 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00648/12.93, allocations: 1.537 MB / 4.162 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/12.94, allocations: 3.541 MB / 4.165 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/12.94, allocations: 7.031 kB / 4.165 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/12.94, allocations: 196.5 kB / 4.165 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/12.94, allocations: 243.7 kB / 4.166 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002109/12.94, allocations: 29.48 kB / 4.166 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005823/12.95, allocations: 2.695 MB / 4.168 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/12.95, allocations: 8.219 kB / 4.168 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009642/12.96, allocations: 2.696 MB / 4.171 GB, free: 99.69 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/12.96, allocations: 370 kB / 4.171 GB, free: 99.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005333/12.96, allocations: 26.81 kB / 4.171 GB, free: 99.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003455/12.97, allocations: 148.7 kB / 4.171 GB, free: 99.51 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003576/12.97, allocations: 67.41 kB / 4.171 GB, free: 99.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/12.97, allocations: 43.92 kB / 4.171 GB, free: 99.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002303/12.97, allocations: 0.9174 MB / 4.172 GB, free: 99.39 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.81e-07/12.97, allocations: 0 / 4.172 GB, free: 99.39 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005664/12.97, allocations: 0.9888 MB / 4.173 GB, free: 99.38 MB / 0.8855 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.01423/12.99, allocations: 6.517 MB / 4.18 GB, free: 96.35 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0085/13, allocations: 2.947 MB / 4.183 GB, free: 95.41 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/13, allocations: 2.312 kB / 4.183 GB, free: 95.41 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002464/13, allocations: 0.8009 MB / 4.183 GB, free: 95.23 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007496/13.01, allocations: 0.8703 MB / 4.184 GB, free: 95.21 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03413/13.04, allocations: 12.81 MB / 4.197 GB, free: 89.66 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/13.04, allocations: 1.393 MB / 4.198 GB, free: 88.95 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002668/13.05, allocations: 352.2 kB / 4.198 GB, free: 88.92 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/13.05, allocations: 0.6322 MB / 4.199 GB, free: 88.91 MB / 0.8855 GB Notification: Performance of SimCode: time 1.152e-06/13.05, allocations: 0 / 4.199 GB, free: 88.91 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2326/13.28, allocations: 84.14 MB / 4.281 GB, free: 85.81 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003146/13.28, allocations: 263.4 kB / 4.281 GB, free: 85.46 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.266/19.55, allocations: 4 kB / 4.281 GB, free: 85.46 MB / 0.8855 GB