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: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.001377/0.001377, allocations: 191 kB / 16.91 MB, free: 6.184 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.381/1.381, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.66/1.66, allocations: 292.3 MB / 0.5492 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.001387/0.001387, allocations: 65.83 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2548, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.646/0.9008, allocations: 160.7 MB / 0.9404 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005608/0.9065, allocations: 3.314 MB / 0.9436 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008026/0.9073, allocations: 16.31 kB / 0.9437 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009481/0.9083, allocations: 246 kB / 0.9439 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.9107, allocations: 0.7958 MB / 0.9447 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.9119, allocations: 399.4 kB / 0.9451 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001501/0.9134, allocations: 1.079 MB / 0.9461 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004645/0.9139, allocations: 324.8 kB / 0.9464 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000665/0.9146, allocations: 408.7 kB / 0.9468 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009952/0.9156, allocations: 378.2 kB / 0.9472 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.129e-05/0.9157, allocations: 37.97 kB / 0.9472 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.9173, allocations: 0.7277 MB / 0.9479 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.9175, allocations: 167.8 kB / 0.9481 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003518/0.9179, allocations: 273.4 kB / 0.9483 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.9192, allocations: 0.7067 MB / 0.949 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.9192, allocations: 0 / 0.949 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.755e-06/0.9192, allocations: 0 / 0.949 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.9192, allocations: 1.203 kB / 0.949 GB, free: 5.738 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.001678/0.9209, allocations: 0.8673 MB / 0.9499 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.9209, allocations: 10.5 kB / 0.9499 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.922, allocations: 145.1 kB / 0.95 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007595/0.9228, allocations: 491.5 kB / 0.9505 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.9228, allocations: 23.81 kB / 0.9505 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.05e-05/0.9229, allocations: 31.06 kB / 0.9505 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.9236, allocations: 319.5 kB / 0.9509 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.9236, allocations: 1.219 kB / 0.9509 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.9236, allocations: 13.41 kB / 0.9509 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.9237, allocations: 11.91 kB / 0.9509 GB, free: 20.81 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004666/0.9241, allocations: 219.7 kB / 0.9511 GB, free: 20.8 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.002213/0.9264, allocations: 1.415 MB / 0.9525 GB, free: 19.99 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.9268, allocations: 221.3 kB / 0.9527 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.927, allocations: 107.6 kB / 0.9528 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.927, allocations: 3.453 kB / 0.9528 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003573/0.9274, allocations: 166.9 kB / 0.9529 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 2.354e-06/0.9274, allocations: 4 kB / 0.9529 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.003228/0.9306, allocations: 1.15 MB / 0.9541 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.9307, allocations: 58.31 kB / 0.9541 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/0.9313, allocations: 460.3 kB / 0.9546 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.9314, allocations: 31.58 kB / 0.9546 GB, free: 19.31 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.9316, allocations: 240.8 kB / 0.9548 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.9317, allocations: 103.3 kB / 0.9549 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.9318, allocations: 80.73 kB / 0.955 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.932, allocations: 353.3 kB / 0.9553 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.9323, allocations: 132.1 kB / 0.9555 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.9327, allocations: 201.8 kB / 0.9557 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005988/0.9333, allocations: 326 kB / 0.956 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.9333, allocations: 0.5938 kB / 0.956 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001227/0.9345, allocations: 0.4908 MB / 0.9564 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.9345, allocations: 5.469 kB / 0.9565 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.9346, allocations: 4.062 kB / 0.9565 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004046/0.935, allocations: 92.48 kB / 0.9565 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.9354, allocations: 69.44 kB / 0.9566 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.9375, allocations: 1.957 MB / 0.9585 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/0.9379, allocations: 28.28 kB / 0.9585 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/0.938, allocations: 12.64 kB / 0.9586 GB, free: 17.08 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.0003664/0.9384, allocations: 192.1 kB / 0.9587 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/0.9385, allocations: 45.84 kB / 0.9588 GB, free: 16.94 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.9386, allocations: 59.08 kB / 0.9588 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.9386, allocations: 2.531 kB / 0.9588 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.9386, allocations: 1.031 kB / 0.9588 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.9386, allocations: 8.047 kB / 0.9589 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.9404, allocations: 1.019 MB / 0.9598 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.9404, allocations: 1.156 kB / 0.9599 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.9408, allocations: 74.53 kB / 0.9599 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003099/0.9411, allocations: 81.05 kB / 0.96 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.9412, allocations: 9.781 kB / 0.96 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.9425, allocations: 1.653 MB / 0.9616 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9425, allocations: 0 / 0.9616 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.9436, allocations: 0.5902 MB / 0.9622 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.9438, allocations: 150.3 kB / 0.9623 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.766e-05/0.9439, allocations: 13.89 kB / 0.9624 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.9443, allocations: 21.78 kB / 0.9624 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.599e-05/0.9444, allocations: 16.55 kB / 0.9624 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.9444, allocations: 14.58 kB / 0.9624 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003829/0.9448, allocations: 303.2 kB / 0.9627 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9448, allocations: 5.219 kB / 0.9627 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006182/0.9454, allocations: 129.7 kB / 0.9628 GB, free: 14.84 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.001014/0.9465, allocations: 433 kB / 0.9632 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.9475, allocations: 480.6 kB / 0.9637 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9476, allocations: 0 / 0.9637 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.9479, allocations: 258.5 kB / 0.9639 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.9491, allocations: 240.5 kB / 0.9642 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.9511, allocations: 1.217 MB / 0.9654 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.9515, allocations: 0.8512 MB / 0.9662 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.9517, allocations: 39.77 kB / 0.9662 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of SimCode: time 2.365e-06/0.9517, allocations: 0 / 0.9662 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of Templates: time 0.01441/0.9661, allocations: 9.267 MB / 0.9753 GB, free: 12.13 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.makefile (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 & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)