Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1",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.432/1.432, allocations: 252 MB / 267 MB, free: 10.99 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.001037/0.001037, allocations: 187.4 kB / 326.6 MB, free: 2.234 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.17/2.17, allocations: 205.4 MB / 0.5777 GB, free: 20.56 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.000885/0.0008849, allocations: 94.34 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003443, allocations: 12.62 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2745, allocations: 106.3 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1713/0.4458, allocations: 148 MB / 1.045 GB, free: 11.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005706/0.4516, allocations: 3.104 MB / 1.048 GB, free: 8.801 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008671/0.4526, allocations: 15.88 kB / 1.048 GB, free: 8.785 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000963/0.4535, allocations: 195 kB / 1.048 GB, free: 8.594 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.456, allocations: 0.6415 MB / 1.049 GB, free: 7.949 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.4574, allocations: 323.9 kB / 1.049 GB, free: 7.637 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001968/0.4594, allocations: 1.231 MB / 1.05 GB, free: 6.402 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004315/0.4599, allocations: 246.4 kB / 1.05 GB, free: 6.156 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006802/0.4606, allocations: 358.4 kB / 1.051 GB, free: 5.805 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000547/0.4611, allocations: 326.6 kB / 1.051 GB, free: 5.484 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.4612, allocations: 12 kB / 1.051 GB, free: 5.473 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.4622, allocations: 347.2 kB / 1.051 GB, free: 5.133 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.4624, allocations: 139.5 kB / 1.052 GB, free: 4.996 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.4625, allocations: 125.4 kB / 1.052 GB, free: 4.867 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007442/0.4633, allocations: 0.651 MB / 1.052 GB, free: 4.215 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4633, allocations: 0 / 1.052 GB, free: 4.215 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.238e-06/0.4633, allocations: 4 kB / 1.052 GB, free: 4.211 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.4633, allocations: 3.938 kB / 1.052 GB, free: 4.207 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001386/0.4647, allocations: 0.767 MB / 1.053 GB, free: 3.387 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.4648, allocations: 16.03 kB / 1.053 GB, free: 3.371 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.798e-05/0.4649, allocations: 66.52 kB / 1.053 GB, free: 3.297 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009706/0.4658, allocations: 151.2 kB / 1.053 GB, free: 3.148 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006674/0.4665, allocations: 469.3 kB / 1.054 GB, free: 2.648 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.4666, allocations: 24.66 kB / 1.054 GB, free: 2.625 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.4666, allocations: 28 kB / 1.054 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.4672, allocations: 328.9 kB / 1.054 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.4672, allocations: 3.938 kB / 1.054 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.4673, allocations: 12 kB / 1.054 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.4673, allocations: 12.56 kB / 1.054 GB, free: 2.242 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.4677, allocations: 214.1 kB / 1.054 GB, free: 2.031 MB / 0.698 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.001834/0.4695, allocations: 1.426 MB / 1.056 GB, free: 480 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.4699, allocations: 218.8 kB / 1.056 GB, free: 252 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.4701, allocations: 100.8 kB / 1.056 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.4701, allocations: 8 kB / 1.056 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.528/0.9981, allocations: 162.5 kB / 1.056 GB, free: 157.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 5.631e-06/0.9982, allocations: 1.125 kB / 1.056 GB, free: 157.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.003492/1.002, allocations: 1.147 MB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/1.002, allocations: 56.3 kB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/1.002, allocations: 450.2 kB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/1.002, allocations: 36.23 kB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/1.003, allocations: 232.1 kB / 1.058 GB, free: 156.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.976e-05/1.003, allocations: 107.1 kB / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/1.003, allocations: 9.906 kB / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.832e-05/1.003, allocations: 354 kB / 1.059 GB, free: 156.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/1.003, allocations: 132.2 kB / 1.059 GB, free: 156.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/1.003, allocations: 190.3 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/1.004, allocations: 168.9 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.004, allocations: 0 / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009541/1.005, allocations: 486 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.005, allocations: 6.797 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/1.005, allocations: 2.906 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00037/1.005, allocations: 83.77 kB / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/1.005, allocations: 66.81 kB / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/1.007, allocations: 1.745 MB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/1.007, allocations: 28.89 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/1.007, allocations: 17.44 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000295/1.008, allocations: 199.4 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/1.008, allocations: 46.05 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.65e-05/1.008, allocations: 51.27 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.008, allocations: 6 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/1.008, allocations: 0.75 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/1.008, allocations: 3.328 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/1.01, allocations: 1.023 MB / 1.063 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/1.01, allocations: 2.125 kB / 1.063 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/1.01, allocations: 69.23 kB / 1.063 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003205/1.01, allocations: 81.78 kB / 1.063 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/1.011, allocations: 9.719 kB / 1.063 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/1.012, allocations: 1.551 MB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.012, allocations: 0 / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/1.013, allocations: 0.5831 MB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/1.013, allocations: 160.5 kB / 1.065 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.424e-05/1.013, allocations: 18.42 kB / 1.065 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/1.014, allocations: 18.45 kB / 1.065 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/1.014, allocations: 17.36 kB / 1.065 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/1.014, allocations: 17.62 kB / 1.065 GB, free: 152.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004331/1.014, allocations: 302.8 kB / 1.065 GB, free: 152.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.014, allocations: 0 / 1.065 GB, free: 152.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005602/1.015, allocations: 128.4 kB / 1.066 GB, free: 152.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002147/1.017, allocations: 1.462 MB / 1.067 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008138/1.018, allocations: 434.2 kB / 1.067 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.018, allocations: 3.938 kB / 1.067 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003012/1.018, allocations: 250.9 kB / 1.068 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/1.019, allocations: 225.7 kB / 1.068 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006224/1.026, allocations: 3.003 MB / 1.071 GB, free: 150.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/1.026, allocations: 0.8552 MB / 1.072 GB, free: 149.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005877/1.027, allocations: 81.22 kB / 1.072 GB, free: 149.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/1.027, allocations: 154.4 kB / 1.072 GB, free: 149.9 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/1.027, allocations: 0 / 1.072 GB, free: 149.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/1.063, allocations: 12.76 MB / 1.084 GB, free: 145.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/1.063, allocations: 251.6 kB / 1.085 GB, free: 145.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.58, allocations: 0 / 1.085 GB, free: 145.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)