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.0009797/0.0009797, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006497/0.006497, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.354/1.354, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.63/1.63, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0004986/0.0004986, allocations: 17.5 kB / 0.6744 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2257, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.572/0.7977, allocations: 158.6 MB / 0.9428 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004244/0.802, allocations: 3.324 MB / 0.9461 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004311/0.8024, allocations: 12.5 kB / 0.9461 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007052/0.8032, allocations: 249.6 kB / 0.9463 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.805, allocations: 0.788 MB / 0.9471 GB, free: 492 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009661/0.806, allocations: 407.2 kB / 0.9475 GB, free: 452 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001917/0.8079, allocations: 1.356 MB / 0.9488 GB, free: 284 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005655/0.8085, allocations: 272.8 kB / 0.9491 GB, free: 248 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009061/0.8094, allocations: 348 kB / 0.9494 GB, free: 196 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.8104, allocations: 342.1 kB / 0.9497 GB, free: 180 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.542e-05/0.8105, allocations: 14.28 kB / 0.9497 GB, free: 180 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.8126, allocations: 0.7879 MB / 0.9505 GB, free: 104 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.8129, allocations: 134.7 kB / 0.9506 GB, free: 104 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004405/0.8134, allocations: 266.9 kB / 0.9509 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.8148, allocations: 0.9427 MB / 0.9518 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8148, allocations: 0 / 0.9518 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8148, allocations: 0 / 0.9518 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.8148, allocations: 1.062 kB / 0.9518 GB, free: 15.99 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.001265/0.8161, allocations: 0.773 MB / 0.9526 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.8161, allocations: 9.656 kB / 0.9526 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.947e-05/0.8162, allocations: 65.83 kB / 0.9526 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.8172, allocations: 147.2 kB / 0.9528 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.8179, allocations: 498.2 kB / 0.9533 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.8179, allocations: 19.97 kB / 0.9533 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.944e-05/0.818, allocations: 30.91 kB / 0.9533 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.8185, allocations: 324.4 kB / 0.9536 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.8186, allocations: 0 / 0.9536 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.8186, allocations: 10.59 kB / 0.9536 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.8186, allocations: 10.25 kB / 0.9536 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.819, allocations: 214.7 kB / 0.9538 GB, free: 15.02 MB / 0.7325 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.001832/0.8209, allocations: 1.418 MB / 0.9552 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.8213, allocations: 224.4 kB / 0.9554 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.8214, allocations: 110.1 kB / 0.9555 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.8215, allocations: 4.156 kB / 0.9555 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.8218, allocations: 173.2 kB / 0.9557 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.415e-06/0.8218, allocations: 4 kB / 0.9557 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002834/0.8246, allocations: 1.15 MB / 0.9568 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.8247, allocations: 64.45 kB / 0.9569 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/0.8252, allocations: 456 kB / 0.9573 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.8253, allocations: 35.11 kB / 0.9574 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.8254, allocations: 232.6 kB / 0.9576 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.421e-05/0.8255, allocations: 105.9 kB / 0.9577 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.8256, allocations: 44.41 kB / 0.9577 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.8257, allocations: 354.4 kB / 0.9581 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.8259, allocations: 131.5 kB / 0.9582 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.8262, allocations: 193.4 kB / 0.9584 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.8267, allocations: 335.9 kB / 0.9587 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8267, allocations: 0.9375 kB / 0.9587 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000935/0.8276, allocations: 498.7 kB / 0.9592 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8276, allocations: 5.688 kB / 0.9592 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.8277, allocations: 2.375 kB / 0.9592 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000353/0.828, allocations: 83.03 kB / 0.9593 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.8283, allocations: 75.3 kB / 0.9593 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.8302, allocations: 1.769 MB / 0.9611 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.8305, allocations: 28.36 kB / 0.9611 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.8306, allocations: 9.625 kB / 0.9611 GB, free: 11.39 MB / 0.7325 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.0002335/0.8308, allocations: 195.9 kB / 0.9613 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.8309, allocations: 49.31 kB / 0.9613 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.831, allocations: 59.75 kB / 0.9614 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.831, allocations: 4.094 kB / 0.9614 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.8311, allocations: 1.062 kB / 0.9614 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.8311, allocations: 2.25 kB / 0.9614 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.8326, allocations: 1.026 MB / 0.9624 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.8326, allocations: 1.125 kB / 0.9624 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/0.833, allocations: 66.28 kB / 0.9625 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002903/0.8333, allocations: 74.34 kB / 0.9625 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.8334, allocations: 13.28 kB / 0.9625 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.8347, allocations: 1.553 MB / 0.9641 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8347, allocations: 0.9375 kB / 0.9641 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.8358, allocations: 0.5876 MB / 0.9646 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.836, allocations: 153.1 kB / 0.9648 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.836, allocations: 6.844 kB / 0.9648 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.8364, allocations: 32.3 kB / 0.9648 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.8365, allocations: 17.64 kB / 0.9648 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.8365, allocations: 13.52 kB / 0.9648 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003344/0.8369, allocations: 308 kB / 0.9651 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8369, allocations: 0 / 0.9651 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005808/0.8375, allocations: 130 kB / 0.9653 GB, free: 9.211 MB / 0.7325 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.002304/0.8398, allocations: 1.457 MB / 0.9667 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009823/0.8408, allocations: 479 kB / 0.9671 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8408, allocations: 0 / 0.9671 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.8411, allocations: 253.4 kB / 0.9674 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.8423, allocations: 227.8 kB / 0.9676 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006018/0.8483, allocations: 4.453 MB / 0.972 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.8488, allocations: 0.8492 MB / 0.9728 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004004/0.8492, allocations: 85.94 kB / 0.9729 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.8494, allocations: 158 kB / 0.973 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of SimCode: time 6.52e-07/0.8494, allocations: 0 / 0.973 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.8737, allocations: 12.19 MB / 0.9849 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.8739, allocations: 248.7 kB / 0.9852 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.781, allocations: 0 / 0.9852 GB, free: 15.31 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)