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.0009019/0.0009019, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001173/0.001172, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.774/1.774, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005398/0.0005399, allocations: 13.97 kB / 0.6738 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3138, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.9522/1.266, allocations: 147.9 MB / 0.9319 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007304/1.273, allocations: 3.109 MB / 0.9349 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/1.275, allocations: 14.62 kB / 0.9349 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/1.276, allocations: 210.4 kB / 0.9351 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003576/1.28, allocations: 0.622 MB / 0.9357 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/1.281, allocations: 319.8 kB / 0.936 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002729/1.284, allocations: 1.169 MB / 0.9372 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006235/1.285, allocations: 244.3 kB / 0.9374 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009076/1.285, allocations: 347.9 kB / 0.9377 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008037/1.286, allocations: 314.5 kB / 0.938 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.965e-05/1.286, allocations: 13.91 kB / 0.938 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/1.288, allocations: 360.1 kB / 0.9384 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002131/1.288, allocations: 142.6 kB / 0.9385 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006736/1.289, allocations: 125.2 kB / 0.9386 GB, free: 21.65 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/1.29, allocations: 0.6428 MB / 0.9393 GB, free: 21.6 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/1.29, allocations: 0 / 0.9393 GB, free: 21.6 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.246e-06/1.29, allocations: 1.75 kB / 0.9393 GB, free: 21.6 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.848e-06/1.29, allocations: 0 / 0.9393 GB, free: 21.6 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.001833/1.292, allocations: 0.7754 MB / 0.94 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.584e-05/1.292, allocations: 10 kB / 0.94 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/1.292, allocations: 68.86 kB / 0.9401 GB, free: 21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/1.294, allocations: 152.2 kB / 0.9402 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008851/1.294, allocations: 472.5 kB / 0.9407 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/1.294, allocations: 21.59 kB / 0.9407 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.18e-05/1.295, allocations: 29.22 kB / 0.9407 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007802/1.295, allocations: 314.8 kB / 0.941 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/1.295, allocations: 4.438 kB / 0.941 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/1.295, allocations: 14.09 kB / 0.9411 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/1.295, allocations: 14.12 kB / 0.9411 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005157/1.296, allocations: 216.5 kB / 0.9413 GB, free: 20.64 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.002436/1.298, allocations: 1.421 MB / 0.9427 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/1.299, allocations: 217.5 kB / 0.9429 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/1.299, allocations: 110.1 kB / 0.943 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/1.299, allocations: 3.656 kB / 0.943 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003673/1.3, allocations: 163.4 kB / 0.9431 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.844e-06/1.3, allocations: 1.312 kB / 0.9431 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.003455/1.303, allocations: 1.146 MB / 0.9443 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/1.303, allocations: 58.44 kB / 0.9443 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008877/1.304, allocations: 460.8 kB / 0.9448 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/1.304, allocations: 31.3 kB / 0.9448 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/1.304, allocations: 237.3 kB / 0.945 GB, free: 19 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/1.305, allocations: 101.9 kB / 0.9451 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/1.305, allocations: 8.438 kB / 0.9451 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002205/1.305, allocations: 355.4 kB / 0.9455 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/1.305, allocations: 132.8 kB / 0.9456 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/1.306, allocations: 200.1 kB / 0.9458 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/1.306, allocations: 152.9 kB / 0.9459 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/1.306, allocations: 4.516 kB / 0.9459 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00139/1.307, allocations: 0.4895 MB / 0.9464 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/1.307, allocations: 5.938 kB / 0.9464 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.307, allocations: 1.969 kB / 0.9464 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000414/1.308, allocations: 83.84 kB / 0.9465 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/1.308, allocations: 67.58 kB / 0.9466 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/1.311, allocations: 1.756 MB / 0.9483 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/1.311, allocations: 33.52 kB / 0.9483 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/1.311, allocations: 12.34 kB / 0.9483 GB, free: 17.09 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 ($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.000316/1.311, allocations: 195.5 kB / 0.9485 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/1.311, allocations: 49.23 kB / 0.9485 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/1.312, allocations: 55.95 kB / 0.9486 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.312, allocations: 3.344 kB / 0.9486 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.312, allocations: 1.188 kB / 0.9486 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.312, allocations: 1.859 kB / 0.9486 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/1.313, allocations: 1.016 MB / 0.9496 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.313, allocations: 1.031 kB / 0.9496 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/1.314, allocations: 70.55 kB / 0.9497 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002809/1.314, allocations: 77.23 kB / 0.9497 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/1.314, allocations: 12.78 kB / 0.9497 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/1.316, allocations: 1.557 MB / 0.9513 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.316, allocations: 0 / 0.9513 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/1.317, allocations: 0.5867 MB / 0.9518 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/1.317, allocations: 157.3 kB / 0.952 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/1.318, allocations: 10.19 kB / 0.952 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/1.318, allocations: 15.05 kB / 0.952 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/1.318, allocations: 23.33 kB / 0.952 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/1.318, allocations: 14.52 kB / 0.9521 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000502/1.318, allocations: 307.2 kB / 0.9523 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.318, allocations: 0 / 0.9523 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007214/1.319, allocations: 127.1 kB / 0.9525 GB, free: 14.92 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 (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.002711/1.322, allocations: 1.456 MB / 0.9539 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001061/1.323, allocations: 443.6 kB / 0.9543 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/1.323, allocations: 0.8438 kB / 0.9543 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003765/1.323, allocations: 253.2 kB / 0.9546 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/1.325, allocations: 224.1 kB / 0.9548 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005656/1.33, allocations: 3.025 MB / 0.9577 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/1.331, allocations: 0.8515 MB / 0.9586 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004864/1.331, allocations: 87.86 kB / 0.9586 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/1.332, allocations: 157.8 kB / 0.9588 GB, free: 12 MB / 0.7325 GB Notification: Performance of SimCode: time 1.512e-06/1.332, allocations: 0 / 0.9588 GB, free: 12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/1.369, allocations: 12.83 MB / 0.9713 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/1.37, allocations: 236 kB / 0.9715 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/3.649, allocations: 1.859 kB / 0.9715 GB, free: 8.133 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/linux/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) Environment - environmentSimulation: