Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 195.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.639/1.639, allocations: 292.3 MB / 0.5486 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 69.53 kB / 0.6711 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2201, allocations: 114.6 MB / 0.783 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5851/0.8052, allocations: 160.7 MB / 0.9399 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005395/0.8107, allocations: 3.315 MB / 0.9431 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.8117, allocations: 17.56 kB / 0.9431 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.8129, allocations: 241.7 kB / 0.9433 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002668/0.8156, allocations: 0.7958 MB / 0.9441 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.817, allocations: 413.4 kB / 0.9445 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001888/0.8189, allocations: 1.076 MB / 0.9456 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007558/0.8197, allocations: 324 kB / 0.9459 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.8207, allocations: 411.9 kB / 0.9463 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.822, allocations: 365.3 kB / 0.9466 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.8221, allocations: 41.62 kB / 0.9467 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.8237, allocations: 0.7271 MB / 0.9474 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.8239, allocations: 169.1 kB / 0.9475 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003544/0.8243, allocations: 269.7 kB / 0.9478 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001611/0.8259, allocations: 0.9676 MB / 0.9487 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8259, allocations: 0 / 0.9487 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.195e-06/0.8259, allocations: 0.6562 kB / 0.9487 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.826, allocations: 0 / 0.9487 GB, free: 5.832 MB / 0.7325 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.001682/0.8276, allocations: 0.8637 MB / 0.9496 GB, free: 21.26 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.8277, allocations: 9.156 kB / 0.9496 GB, free: 21.26 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.559e-05/0.8278, allocations: 68.02 kB / 0.9497 GB, free: 21.22 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.8289, allocations: 153.4 kB / 0.9498 GB, free: 21.19 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000741/0.8297, allocations: 486.3 kB / 0.9503 GB, free: 20.92 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.8297, allocations: 20.39 kB / 0.9503 GB, free: 20.92 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/0.8298, allocations: 30.66 kB / 0.9503 GB, free: 20.92 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.8304, allocations: 326.4 kB / 0.9506 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.8305, allocations: 1.094 kB / 0.9506 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.8305, allocations: 9.812 kB / 0.9506 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.8305, allocations: 15.16 kB / 0.9506 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005149/0.8311, allocations: 222.1 kB / 0.9509 GB, free: 20.86 MB / 0.7481 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.002078/0.8331, allocations: 1.415 MB / 0.9522 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/0.8335, allocations: 220.1 kB / 0.9524 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.8337, allocations: 112.8 kB / 0.9526 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.8338, allocations: 3.25 kB / 0.9526 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.8341, allocations: 171.4 kB / 0.9527 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 2.615e-06/0.8341, allocations: 0 / 0.9527 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.002998/0.8371, allocations: 1.154 MB / 0.9538 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.8372, allocations: 59.12 kB / 0.9539 GB, free: 19.51 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005857/0.8378, allocations: 460.7 kB / 0.9543 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.8378, allocations: 31.42 kB / 0.9544 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.838, allocations: 233.8 kB / 0.9546 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/0.8381, allocations: 106.5 kB / 0.9547 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.8383, allocations: 80.09 kB / 0.9548 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.8384, allocations: 363.1 kB / 0.9551 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.8387, allocations: 130.2 kB / 0.9552 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.839, allocations: 199.3 kB / 0.9554 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/0.8396, allocations: 329 kB / 0.9558 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8396, allocations: 0.5312 kB / 0.9558 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001116/0.8407, allocations: 499.7 kB / 0.9562 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.8407, allocations: 9.203 kB / 0.9562 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.8408, allocations: 1.625 kB / 0.9562 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003971/0.8412, allocations: 90.7 kB / 0.9563 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.8415, allocations: 69.55 kB / 0.9564 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.8435, allocations: 1.951 MB / 0.9583 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004295/0.844, allocations: 20.62 kB / 0.9583 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.844, allocations: 13.53 kB / 0.9583 GB, free: 17.13 MB / 0.7481 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 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000276/0.8443, allocations: 202.2 kB / 0.9585 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.295e-05/0.8444, allocations: 46.62 kB / 0.9586 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.958e-05/0.8445, allocations: 51.77 kB / 0.9586 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.8445, allocations: 2.531 kB / 0.9586 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.8445, allocations: 2.75 kB / 0.9586 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8445, allocations: 2.438 kB / 0.9586 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.8461, allocations: 1.023 MB / 0.9596 GB, free: 16.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.8462, allocations: 3.078 kB / 0.9596 GB, free: 16.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.8466, allocations: 71.39 kB / 0.9597 GB, free: 16.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002968/0.8469, allocations: 87.61 kB / 0.9598 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.8469, allocations: 13.59 kB / 0.9598 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.8483, allocations: 1.639 MB / 0.9614 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8483, allocations: 5.969 kB / 0.9614 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.8493, allocations: 0.588 MB / 0.962 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.8495, allocations: 148 kB / 0.9621 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/0.8496, allocations: 14.53 kB / 0.9621 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.8499, allocations: 25.2 kB / 0.9621 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.85, allocations: 23.38 kB / 0.9622 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.85, allocations: 11.12 kB / 0.9622 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003323/0.8504, allocations: 303.8 kB / 0.9625 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8504, allocations: 0 / 0.9625 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005501/0.8509, allocations: 130.1 kB / 0.9626 GB, free: 14.89 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002142/0.8531, allocations: 1.464 MB / 0.964 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.8541, allocations: 487.4 kB / 0.9645 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8541, allocations: 2.719 kB / 0.9645 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.8545, allocations: 249.7 kB / 0.9647 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.8556, allocations: 242.4 kB / 0.965 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006267/0.8618, allocations: 4.391 MB / 0.9692 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.8623, allocations: 0.852 MB / 0.9701 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004106/0.8627, allocations: 83.55 kB / 0.9702 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.8629, allocations: 156.2 kB / 0.9703 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of SimCode: time 1.132e-06/0.863, allocations: 1.062 kB / 0.9703 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03966/0.9026, allocations: 12.74 MB / 0.9828 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003032/0.903, allocations: 252 kB / 0.983 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.947, allocations: 5.141 kB / 0.983 GB, free: 9.738 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)