Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.727/1.727, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001184/0.001183, allocations: 172.9 kB / 361.4 MB, free: 6.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008496/0.0008497, allocations: 93.59 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.555e-05/2.571e-05, allocations: 4 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7811/0.7811, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.094/1.875, allocations: 409.5 MB / 1.364 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/1.876, allocations: 98.55 kB / 1.364 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 11.43/13.31, allocations: 2.722 GB / 4.087 GB, free: 56.81 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.114e-06/13.31, allocations: 0 / 4.087 GB, free: 56.81 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.001287/13.31, allocations: 170.3 kB / 4.087 GB, free: 56.79 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02351/13.34, allocations: 5.913 MB / 4.093 GB, free: 53.85 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/13.34, allocations: 7.312 kB / 4.093 GB, free: 53.85 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005581/13.34, allocations: 0.7746 MB / 4.093 GB, free: 53.48 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1495/13.49, allocations: 59.37 MB / 4.151 GB, free: 49.52 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004222/13.49, allocations: 130.9 kB / 4.151 GB, free: 49.52 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00253/13.49, allocations: 251.4 kB / 4.152 GB, free: 49.52 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01024/13.5, allocations: 2.533 MB / 4.154 GB, free: 49.49 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01547/13.52, allocations: 3.606 MB / 4.158 GB, free: 48.68 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003528/13.52, allocations: 18.25 kB / 4.158 GB, free: 48.68 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001516/13.52, allocations: 7.188 kB / 4.158 GB, free: 48.68 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001813/13.52, allocations: 116.1 kB / 4.158 GB, free: 48.67 MB / 1.057 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.04022/13.56, allocations: 23.38 MB / 4.181 GB, free: 34.21 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003253/13.57, allocations: 2.838 MB / 4.183 GB, free: 33.04 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/13.57, allocations: 0.9908 MB / 4.184 GB, free: 33.02 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003114/13.57, allocations: 3.942 MB / 4.188 GB, free: 28.61 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.17e-05/13.57, allocations: 61.84 kB / 4.188 GB, free: 28.57 MB / 1.057 GB Notification: Performance of pre-optimization done (n=225): time 6.462e-06/13.57, allocations: 4 kB / 4.188 GB, free: 28.56 MB / 1.057 GB Notification: Performance of matching and sorting (n=225): time 0.00933/13.58, allocations: 2.891 MB / 4.191 GB, free: 28.11 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/13.58, allocations: 79.84 kB / 4.191 GB, free: 28.04 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009162/13.59, allocations: 3.277 MB / 4.194 GB, free: 27.26 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0009694/13.59, allocations: 32.48 kB / 4.194 GB, free: 27.23 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.002431/13.59, allocations: 2.785 MB / 4.197 GB, free: 25.04 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001355/13.59, allocations: 0.7571 MB / 4.198 GB, free: 24.43 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/13.59, allocations: 0 / 4.198 GB, free: 24.43 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001834/13.59, allocations: 401.2 kB / 4.198 GB, free: 24.09 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/13.59, allocations: 0.7324 MB / 4.199 GB, free: 23.78 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/13.6, allocations: 1.704 MB / 4.201 GB, free: 22.21 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00395/13.6, allocations: 1.376 MB / 4.202 GB, free: 21.7 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/13.6, allocations: 7.406 kB / 4.202 GB, free: 21.7 MB / 1.057 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009691/13.61, allocations: 3.474 MB / 4.205 GB, free: 20.41 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.004077/13.61, allocations: 10.3 MB / 4.215 GB, free: 9.41 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.218e-05/13.61, allocations: 22.19 kB / 4.215 GB, free: 9.41 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008684/13.62, allocations: 342.1 kB / 4.216 GB, free: 9.297 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/13.62, allocations: 0.5256 MB / 4.216 GB, free: 9.242 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/13.62, allocations: 2.756 MB / 4.219 GB, free: 6.859 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00939/13.63, allocations: 0.4929 MB / 4.219 GB, free: 6.695 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/13.63, allocations: 129.5 kB / 4.22 GB, free: 6.676 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/13.63, allocations: 3.969 kB / 4.22 GB, free: 6.676 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01165/13.64, allocations: 2.755 MB / 4.222 GB, free: 5.738 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.53e-05/13.64, allocations: 26.2 kB / 4.222 GB, free: 5.734 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/13.64, allocations: 350.9 kB / 4.223 GB, free: 5.637 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/13.65, allocations: 0.5279 MB / 4.223 GB, free: 5.578 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/13.66, allocations: 7.399 MB / 4.23 GB, free: 15.17 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007726/13.66, allocations: 465.1 kB / 4.231 GB, free: 15.03 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009033/13.67, allocations: 134.5 kB / 4.231 GB, free: 15.01 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * 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 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001563/13.67, allocations: 181.4 kB / 4.231 GB, free: 14.84 MB / 1.073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008811/13.68, allocations: 2.747 MB / 4.234 GB, free: 13.77 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002225/13.68, allocations: 0.5063 MB / 4.234 GB, free: 13.5 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009755/13.69, allocations: 3.753 MB / 4.238 GB, free: 12.08 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.232e-05/13.69, allocations: 38.59 kB / 4.238 GB, free: 12.07 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-05/13.69, allocations: 7.312 kB / 4.238 GB, free: 12.07 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005911/13.69, allocations: 2.632 MB / 4.241 GB, free: 11.07 MB / 1.073 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 postOpt removeSimpleEquations (simulation): time 0.02762/13.72, allocations: 8.084 MB / 4.248 GB, free: 5.582 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/13.72, allocations: 96 / 4.248 GB, free: 5.582 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/13.72, allocations: 391.9 kB / 4.249 GB, free: 5.25 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004656/13.72, allocations: 229.3 kB / 4.249 GB, free: 5.043 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/13.72, allocations: 31.17 kB / 4.249 GB, free: 5.02 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/13.73, allocations: 2.51 MB / 4.252 GB, free: 2.457 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/13.73, allocations: 0 / 4.252 GB, free: 2.457 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/13.74, allocations: 4.818 MB / 4.256 GB, free: 14.37 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004714/13.74, allocations: 0.9855 MB / 4.257 GB, free: 13.52 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00244/13.75, allocations: 8 kB / 4.257 GB, free: 13.52 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006194/13.75, allocations: 396.6 kB / 4.258 GB, free: 13.24 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004045/13.75, allocations: 153.5 kB / 4.258 GB, free: 13.14 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003951/13.75, allocations: 115 kB / 4.258 GB, free: 13.05 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.00673/13.76, allocations: 2.435 MB / 4.26 GB, free: 10.88 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.423e-06/13.76, allocations: 0 / 4.26 GB, free: 10.88 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.02098/13.78, allocations: 3.449 MB / 4.264 GB, free: 7.473 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * 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 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 1.239/15.02, allocations: 8.578 MB / 4.272 GB, free: 87.73 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01115/15.03, allocations: 4.236 MB / 4.276 GB, free: 87.22 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/15.03, allocations: 4.688 kB / 4.276 GB, free: 87.22 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.002395/15.03, allocations: 1.232 MB / 4.277 GB, free: 87.21 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01888/15.05, allocations: 2.639 MB / 4.28 GB, free: 87.18 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02737/15.08, allocations: 8.312 MB / 4.288 GB, free: 85.16 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003582/15.08, allocations: 2.998 MB / 4.291 GB, free: 84.36 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.009933/15.09, allocations: 1.486 MB / 4.292 GB, free: 84.32 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004057/15.1, allocations: 2.443 MB / 4.295 GB, free: 84.32 MB / 1.089 GB Notification: Performance of SimCode: time 1.332e-06/15.1, allocations: 0 / 4.295 GB, free: 84.32 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3627/15.46, allocations: 161.2 MB / 4.452 GB, free: 74.21 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/15.46, allocations: 186.5 kB / 4.452 GB, free: 74.01 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.699/24.16, allocations: 5.25 kB / 4.452 GB, free: 74 MB / 1.089 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)