Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.791/1.791, allocations: 288.4 MB / 303.3 MB, free: 8.102 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.001448/0.001448, allocations: 182.2 kB / 372 MB, free: 10.26 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.614/1.614, allocations: 205.4 MB / 0.6307 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006841/0.0006838, allocations: 89.17 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 10.47 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2392, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.7476/0.9869, allocations: 147.9 MB / 1.124 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006409/0.9933, allocations: 3.109 MB / 1.127 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008889/0.9943, allocations: 12.16 kB / 1.127 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008354/0.9951, allocations: 205.3 kB / 1.127 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.9974, allocations: 0.6296 MB / 1.128 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.9986, allocations: 318.1 kB / 1.128 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00185/1, allocations: 1.174 MB / 1.129 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005247/1.001, allocations: 248.5 kB / 1.13 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007109/1.002, allocations: 341.5 kB / 1.13 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005711/1.002, allocations: 316.8 kB / 1.13 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.502e-05/1.002, allocations: 14.84 kB / 1.13 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/1.004, allocations: 365.8 kB / 1.131 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002074/1.004, allocations: 135.2 kB / 1.131 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/1.004, allocations: 126.1 kB / 1.131 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0008734/1.005, allocations: 0.6423 MB / 1.131 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.005, allocations: 3.312 kB / 1.131 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.675e-06/1.005, allocations: 0 / 1.131 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.968e-06/1.005, allocations: 0 / 1.131 GB, free: 0.7852 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001457/1.006, allocations: 0.7751 MB / 1.132 GB, free: 16.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/1.006, allocations: 12.61 kB / 1.132 GB, free: 16.22 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.138e-05/1.007, allocations: 67.66 kB / 1.132 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000982/1.008, allocations: 145.6 kB / 1.132 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007011/1.008, allocations: 483.7 kB / 1.133 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/1.008, allocations: 23.47 kB / 1.133 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/1.008, allocations: 28.14 kB / 1.133 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/1.009, allocations: 317.2 kB / 1.133 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/1.009, allocations: 2.25 kB / 1.133 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/1.009, allocations: 15.59 kB / 1.133 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/1.009, allocations: 8.594 kB / 1.133 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/1.01, allocations: 221.4 kB / 1.134 GB, free: 15.82 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.002022/1.012, allocations: 1.415 MB / 1.135 GB, free: 14.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/1.012, allocations: 221.6 kB / 1.135 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/1.012, allocations: 111.8 kB / 1.135 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/1.012, allocations: 5.266 kB / 1.135 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003234/1.013, allocations: 167.2 kB / 1.135 GB, free: 14.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/1.013, allocations: 0 / 1.135 GB, free: 14.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.003111/1.016, allocations: 1.151 MB / 1.137 GB, free: 14.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/1.016, allocations: 54.44 kB / 1.137 GB, free: 14.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005432/1.016, allocations: 457.9 kB / 1.137 GB, free: 14.33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/1.016, allocations: 38.36 kB / 1.137 GB, free: 14.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/1.016, allocations: 238.2 kB / 1.137 GB, free: 14.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/1.017, allocations: 101.4 kB / 1.137 GB, free: 14.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/1.017, allocations: 9.344 kB / 1.137 GB, free: 14.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001997/1.017, allocations: 355 kB / 1.138 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/1.017, allocations: 131.5 kB / 1.138 GB, free: 13.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/1.017, allocations: 193.8 kB / 1.138 GB, free: 13.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/1.018, allocations: 156.2 kB / 1.138 GB, free: 13.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.018, allocations: 6.906 kB / 1.138 GB, free: 13.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001041/1.019, allocations: 498.6 kB / 1.139 GB, free: 13.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.019, allocations: 6.375 kB / 1.139 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/1.019, allocations: 0 / 1.139 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003784/1.019, allocations: 81.12 kB / 1.139 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/1.019, allocations: 77.97 kB / 1.139 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/1.021, allocations: 1.748 MB / 1.141 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/1.022, allocations: 28.84 kB / 1.141 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/1.022, allocations: 13.94 kB / 1.141 GB, free: 12.26 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.0002909/1.022, allocations: 194.2 kB / 1.141 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/1.022, allocations: 48.42 kB / 1.141 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/1.022, allocations: 53.11 kB / 1.141 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-06/1.022, allocations: 3.344 kB / 1.141 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/1.022, allocations: 3.406 kB / 1.141 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.022, allocations: 3.984 kB / 1.141 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/1.024, allocations: 1.006 MB / 1.142 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.024, allocations: 2.5 kB / 1.142 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/1.025, allocations: 75.36 kB / 1.142 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003327/1.025, allocations: 76.22 kB / 1.142 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/1.025, allocations: 10.44 kB / 1.142 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/1.027, allocations: 1.562 MB / 1.144 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/1.027, allocations: 0 / 1.144 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/1.028, allocations: 0.5798 MB / 1.144 GB, free: 9.969 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/1.028, allocations: 163.9 kB / 1.144 GB, free: 9.832 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/1.028, allocations: 11.45 kB / 1.144 GB, free: 9.828 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/1.029, allocations: 16.88 kB / 1.144 GB, free: 9.828 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.883e-05/1.029, allocations: 20.53 kB / 1.144 GB, free: 9.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/1.029, allocations: 12.27 kB / 1.144 GB, free: 9.816 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004477/1.029, allocations: 307.7 kB / 1.145 GB, free: 9.695 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/1.029, allocations: 0 / 1.145 GB, free: 9.695 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007456/1.03, allocations: 126.9 kB / 1.145 GB, free: 9.691 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.002561/1.033, allocations: 1.472 MB / 1.146 GB, free: 8.801 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00108/1.034, allocations: 444.5 kB / 1.147 GB, free: 8.629 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.034, allocations: 0 / 1.147 GB, free: 8.629 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/1.034, allocations: 249.8 kB / 1.147 GB, free: 8.496 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/1.035, allocations: 221.2 kB / 1.147 GB, free: 8.426 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/1.041, allocations: 3.023 MB / 1.15 GB, free: 6.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/1.042, allocations: 0.8489 MB / 1.151 GB, free: 6.215 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005779/1.042, allocations: 85.42 kB / 1.151 GB, free: 6.176 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/1.043, allocations: 154.4 kB / 1.151 GB, free: 6.156 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/1.043, allocations: 0 / 1.151 GB, free: 6.156 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03842/1.081, allocations: 12.85 MB / 1.164 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/1.081, allocations: 250.4 kB / 1.164 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.636, allocations: 0 / 1.164 GB, free: 15.62 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)