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.001156/0.001156, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 197 kB / 16.64 MB, free: 6.453 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.414/1.414, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.709/1.709, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001628/0.001628, allocations: 74.44 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2312, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6331/0.8643, allocations: 162.9 MB / 0.9427 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005292/0.8697, allocations: 3.328 MB / 0.946 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007913/0.8705, allocations: 15.59 kB / 0.946 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008583/0.8714, allocations: 279.8 kB / 0.9463 GB, free: 1.719 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002362/0.8738, allocations: 0.848 MB / 0.9471 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.875, allocations: 443.1 kB / 0.9475 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001852/0.8769, allocations: 1.088 MB / 0.9486 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005468/0.8774, allocations: 331.4 kB / 0.9489 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009525/0.8784, allocations: 410.6 kB / 0.9493 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.8798, allocations: 347.2 kB / 0.9496 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.8799, allocations: 39.62 kB / 0.9496 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.8818, allocations: 0.6923 MB / 0.9503 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.8821, allocations: 164.1 kB / 0.9505 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.8825, allocations: 271.4 kB / 0.9507 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.8843, allocations: 0.9303 MB / 0.9516 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.8843, allocations: 6.531 kB / 0.9516 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8843, allocations: 0 / 0.9516 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.8843, allocations: 0 / 0.9516 GB, free: 1.059 MB / 0.7169 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.001578/0.8859, allocations: 0.8635 MB / 0.9525 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.886, allocations: 13.95 kB / 0.9525 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.706e-05/0.8861, allocations: 68.48 kB / 0.9526 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.8871, allocations: 147.8 kB / 0.9527 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000791/0.8879, allocations: 0.4907 MB / 0.9532 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.888, allocations: 25 kB / 0.9532 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/0.888, allocations: 33.47 kB / 0.9532 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005619/0.8886, allocations: 321.3 kB / 0.9536 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.8886, allocations: 3.969 kB / 0.9536 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.8887, allocations: 13.12 kB / 0.9536 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.8887, allocations: 10.62 kB / 0.9536 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003999/0.8891, allocations: 214 kB / 0.9538 GB, free: 16.07 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.002095/0.8912, allocations: 1.409 MB / 0.9552 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.8917, allocations: 221 kB / 0.9554 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.8918, allocations: 108.2 kB / 0.9555 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.8919, allocations: 4.891 kB / 0.9555 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003261/0.8922, allocations: 174.2 kB / 0.9556 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.685e-06/0.8922, allocations: 0 / 0.9556 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.003123/0.8954, allocations: 1.156 MB / 0.9568 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.8954, allocations: 58.47 kB / 0.9568 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005473/0.896, allocations: 458.9 kB / 0.9573 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.896, allocations: 34.7 kB / 0.9573 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.8962, allocations: 228.4 kB / 0.9575 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.8963, allocations: 110.4 kB / 0.9576 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.8965, allocations: 83.09 kB / 0.9577 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.8966, allocations: 353.4 kB / 0.958 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.8969, allocations: 133.9 kB / 0.9582 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.8972, allocations: 194.9 kB / 0.9584 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.8977, allocations: 333.2 kB / 0.9587 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8977, allocations: 3.938 kB / 0.9587 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00102/0.8987, allocations: 498.2 kB / 0.9591 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.8988, allocations: 9.062 kB / 0.9592 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.8988, allocations: 1.062 kB / 0.9592 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003541/0.8991, allocations: 91.17 kB / 0.9592 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.8995, allocations: 64.19 kB / 0.9593 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.9015, allocations: 1.955 MB / 0.9612 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.902, allocations: 14.56 kB / 0.9612 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.9021, allocations: 14 kB / 0.9612 GB, free: 12.29 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.000314/0.9024, allocations: 193.1 kB / 0.9614 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.871e-05/0.9025, allocations: 48.69 kB / 0.9615 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.9026, allocations: 53.72 kB / 0.9615 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.9026, allocations: 3.656 kB / 0.9615 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.9027, allocations: 5.188 kB / 0.9615 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.9027, allocations: 2.391 kB / 0.9615 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.9045, allocations: 1.009 MB / 0.9625 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.9045, allocations: 0 / 0.9625 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/0.9049, allocations: 71.31 kB / 0.9626 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003104/0.9052, allocations: 81.06 kB / 0.9627 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.9053, allocations: 10.56 kB / 0.9627 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.9067, allocations: 1.648 MB / 0.9643 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9067, allocations: 0 / 0.9643 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.9079, allocations: 0.597 MB / 0.9649 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.9082, allocations: 154.7 kB / 0.965 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.9083, allocations: 10.62 kB / 0.965 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.9086, allocations: 14.62 kB / 0.965 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.9087, allocations: 25.59 kB / 0.9651 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.9087, allocations: 14.23 kB / 0.9651 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004036/0.9091, allocations: 303.9 kB / 0.9654 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9092, allocations: 0 / 0.9654 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006077/0.9098, allocations: 124.7 kB / 0.9655 GB, free: 10.03 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.00229/0.9121, allocations: 1.47 MB / 0.9669 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.9131, allocations: 468.4 kB / 0.9674 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9131, allocations: 0 / 0.9674 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003588/0.9135, allocations: 256.6 kB / 0.9676 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.9148, allocations: 236.5 kB / 0.9678 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006566/0.9214, allocations: 4.192 MB / 0.9719 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.9219, allocations: 0.8479 MB / 0.9728 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004666/0.9224, allocations: 81.39 kB / 0.9728 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.9226, allocations: 157.6 kB / 0.973 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of SimCode: time 9.31e-07/0.9226, allocations: 6.562 kB / 0.973 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03698/0.9596, allocations: 12.88 MB / 0.9856 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.706/10.67, allocations: 7.688 kB / 0.9856 GB, free: 0.9688 MB / 0.7325 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)