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.194/2.194, allocations: 248.7 MB / 256.2 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001592, allocations: 191.7 kB / 315.4 MB, free: 3.98 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.129/2.129, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001139, allocations: 90.52 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.211e-05/6.26e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2188, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.268/7.487, allocations: 2.204 GB / 3.089 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/7.487, allocations: 91.64 kB / 3.089 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.254/12.74, allocations: 0.9953 GB / 4.084 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.605e-06/12.74, allocations: 0 / 4.084 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002934/12.74, allocations: 46.73 kB / 4.084 GB, free: 131.4 MB / 0.8698 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.006897/12.75, allocations: 2.075 MB / 4.086 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.37e-05/12.75, allocations: 8.031 kB / 4.086 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006246/12.75, allocations: 0.6159 MB / 4.087 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005496/12.76, allocations: 1.437 MB / 4.088 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000659/12.76, allocations: 111.9 kB / 4.088 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005214/12.76, allocations: 79.89 kB / 4.088 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003046/12.76, allocations: 0.9791 MB / 4.089 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003287/12.77, allocations: 1.2 MB / 4.09 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.47e-05/12.77, allocations: 2.719 kB / 4.09 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/12.77, allocations: 4.688 kB / 4.09 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.22e-05/12.77, allocations: 42.23 kB / 4.09 GB, free: 124.9 MB / 0.8698 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.01362/12.78, allocations: 5.621 MB / 4.096 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/12.78, allocations: 0.9364 MB / 4.097 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009494/12.78, allocations: 466.8 kB / 4.097 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007772/12.79, allocations: 311.6 kB / 4.097 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/12.79, allocations: 0.5092 MB / 4.098 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=87): time 3.988e-06/12.79, allocations: 0 / 4.098 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.01206/12.8, allocations: 2.978 MB / 4.101 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/12.8, allocations: 200.7 kB / 4.101 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/12.8, allocations: 0.9135 MB / 4.102 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003324/12.8, allocations: 29.7 kB / 4.102 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00076/12.8, allocations: 0.7359 MB / 4.103 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004262/12.8, allocations: 303.4 kB / 4.103 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.851e-05/12.8, allocations: 0 / 4.103 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.218e-05/12.8, allocations: 345.9 kB / 4.103 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000846/12.8, allocations: 366.5 kB / 4.104 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009982/12.8, allocations: 0.5897 MB / 4.104 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006433/12.81, allocations: 1.331 MB / 4.106 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/12.81, allocations: 0 / 4.106 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006491/12.82, allocations: 1.615 MB / 4.107 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003278/12.82, allocations: 1.284 MB / 4.108 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/12.82, allocations: 8 kB / 4.108 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/12.82, allocations: 410.2 kB / 4.109 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/12.82, allocations: 171.8 kB / 4.109 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009391/12.83, allocations: 6.515 MB / 4.115 GB, free: 98.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/12.83, allocations: 119.9 kB / 4.115 GB, free: 98.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/12.83, allocations: 47.92 kB / 4.115 GB, free: 98.15 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/12.83, allocations: 4 kB / 4.115 GB, free: 98.14 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005794/12.84, allocations: 1.427 MB / 4.117 GB, free: 96.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/12.84, allocations: 4 kB / 4.117 GB, free: 96.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/12.84, allocations: 402.4 kB / 4.117 GB, free: 96.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/12.84, allocations: 175.7 kB / 4.117 GB, free: 96.13 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/12.85, allocations: 7.446 MB / 4.125 GB, free: 88.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/12.86, allocations: 116 kB / 4.125 GB, free: 88.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/12.86, allocations: 44 kB / 4.125 GB, free: 88.05 MB / 0.8698 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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 () * 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.0005319/12.86, allocations: 172.8 kB / 4.125 GB, free: 87.88 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005513/12.86, allocations: 1.319 MB / 4.126 GB, free: 86.55 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007458/12.86, allocations: 158.1 kB / 4.126 GB, free: 86.39 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005692/12.87, allocations: 1.388 MB / 4.128 GB, free: 84.98 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/12.87, allocations: 8 kB / 4.128 GB, free: 84.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/12.87, allocations: 11.98 kB / 4.128 GB, free: 84.96 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005015/12.87, allocations: 1.276 MB / 4.129 GB, free: 83.65 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/12.88, allocations: 3.136 MB / 4.132 GB, free: 80.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/12.89, allocations: 8.438 kB / 4.132 GB, free: 80.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/12.89, allocations: 191.8 kB / 4.132 GB, free: 80.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006828/12.89, allocations: 192.1 kB / 4.133 GB, free: 80.04 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/12.89, allocations: 19.98 kB / 4.133 GB, free: 80.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003793/12.89, allocations: 2.402 MB / 4.135 GB, free: 77.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/12.89, allocations: 7.938 kB / 4.135 GB, free: 77.47 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006876/12.9, allocations: 2.321 MB / 4.137 GB, free: 74.95 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/12.9, allocations: 355.1 kB / 4.137 GB, free: 74.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003507/12.9, allocations: 14.73 kB / 4.137 GB, free: 74.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002474/12.9, allocations: 131.7 kB / 4.138 GB, free: 74.44 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/12.9, allocations: 68.62 kB / 4.138 GB, free: 74.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/12.9, allocations: 39.98 kB / 4.138 GB, free: 74.34 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001539/12.9, allocations: 0.7031 MB / 4.138 GB, free: 73.63 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.62e-07/12.9, allocations: 0 / 4.138 GB, free: 73.63 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006633/12.91, allocations: 0.9411 MB / 4.139 GB, free: 72.7 MB / 0.8698 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.X[2],heaDyn.vol.dynBal.medium.dT,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) * 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.01176/12.92, allocations: 6.416 MB / 4.146 GB, free: 66.34 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005295/12.93, allocations: 2.552 MB / 4.148 GB, free: 63.69 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/12.93, allocations: 4.062 kB / 4.148 GB, free: 63.69 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/12.93, allocations: 0.6717 MB / 4.149 GB, free: 63 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006947/12.94, allocations: 0.7172 MB / 4.149 GB, free: 62.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/12.95, allocations: 2.884 MB / 4.152 GB, free: 59.34 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/12.95, allocations: 1.405 MB / 4.154 GB, free: 57.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003289/12.95, allocations: 426.4 kB / 4.154 GB, free: 57.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/12.95, allocations: 0.6047 MB / 4.155 GB, free: 56.89 MB / 0.8698 GB Notification: Performance of SimCode: time 2.475e-06/12.95, allocations: 0 / 4.155 GB, free: 56.89 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1642/13.12, allocations: 63.55 MB / 4.217 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003343/13.12, allocations: 178.6 kB / 4.217 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.567/18.68, allocations: 0 / 4.217 GB, free: 9.57 MB / 0.8855 GB