Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.765/1.765, allocations: 288.2 MB / 303.2 MB, free: 8.098 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 173.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008743/0.0008744, allocations: 90.84 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005186/0.0005188, allocations: 10.72 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2504, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.7949/1.045, allocations: 136.8 MB / 1.113 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006588/1.052, allocations: 3.235 MB / 1.116 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/1.053, allocations: 15.06 kB / 1.116 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/1.054, allocations: 276.9 kB / 1.116 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003661/1.058, allocations: 0.7925 MB / 1.117 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/1.061, allocations: 0.5021 MB / 1.118 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002013/1.063, allocations: 0.6465 MB / 1.118 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005582/1.063, allocations: 243.8 kB / 1.119 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008418/1.064, allocations: 314.2 kB / 1.119 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004631/1.064, allocations: 241.9 kB / 1.119 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.549e-05/1.065, allocations: 14.91 kB / 1.119 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/1.066, allocations: 319.2 kB / 1.119 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/1.066, allocations: 128.6 kB / 1.12 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/1.066, allocations: 121.1 kB / 1.12 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000988/1.067, allocations: 0.6072 MB / 1.12 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.067, allocations: 1.438 kB / 1.12 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.627e-06/1.067, allocations: 0 / 1.12 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.486e-06/1.067, allocations: 0 / 1.12 GB, free: 1.258 MB / 0.6823 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.001855/1.069, allocations: 0.7618 MB / 1.121 GB, free: 16.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/1.069, allocations: 12.02 kB / 1.121 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/1.069, allocations: 67.47 kB / 1.121 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/1.07, allocations: 150.5 kB / 1.121 GB, free: 16.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000852/1.071, allocations: 479.4 kB / 1.122 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/1.071, allocations: 27.62 kB / 1.122 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/1.071, allocations: 27.53 kB / 1.122 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000625/1.072, allocations: 318.5 kB / 1.122 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/1.072, allocations: 0 / 1.122 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/1.072, allocations: 13.52 kB / 1.122 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/1.072, allocations: 9.625 kB / 1.122 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/1.073, allocations: 220.7 kB / 1.122 GB, free: 16.3 MB / 0.698 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.002235/1.075, allocations: 1.42 MB / 1.124 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/1.075, allocations: 209.8 kB / 1.124 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/1.075, allocations: 7.531 kB / 1.124 GB, free: 15.44 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003326/1.076, allocations: 160.8 kB / 1.124 GB, free: 15.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 1.844e-06/1.076, allocations: 0 / 1.124 GB, free: 15.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.00337/1.079, allocations: 1.162 MB / 1.125 GB, free: 15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/1.079, allocations: 62.45 kB / 1.125 GB, free: 14.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005627/1.08, allocations: 451.2 kB / 1.126 GB, free: 14.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/1.08, allocations: 31.98 kB / 1.126 GB, free: 14.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/1.08, allocations: 238.9 kB / 1.126 GB, free: 14.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/1.08, allocations: 103.2 kB / 1.126 GB, free: 14.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/1.08, allocations: 14.25 kB / 1.126 GB, free: 14.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002016/1.08, allocations: 355 kB / 1.126 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/1.081, allocations: 132 kB / 1.127 GB, free: 14.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/1.081, allocations: 196.4 kB / 1.127 GB, free: 14.22 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/1.081, allocations: 155.5 kB / 1.127 GB, free: 14.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.081, allocations: 0 / 1.127 GB, free: 14.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009538/1.082, allocations: 0.4934 MB / 1.127 GB, free: 14.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.082, allocations: 5.344 kB / 1.127 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.082, allocations: 7.078 kB / 1.127 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003716/1.082, allocations: 82.44 kB / 1.127 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/1.083, allocations: 69.08 kB / 1.127 GB, free: 14.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/1.085, allocations: 1.766 MB / 1.129 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/1.085, allocations: 29.39 kB / 1.129 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/1.085, allocations: 18.16 kB / 1.129 GB, free: 12.74 MB / 0.698 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.0003157/1.086, allocations: 194.1 kB / 1.129 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/1.086, allocations: 50.77 kB / 1.129 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/1.086, allocations: 54.8 kB / 1.13 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.086, allocations: 2.531 kB / 1.13 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.086, allocations: 1.781 kB / 1.13 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.086, allocations: 2.203 kB / 1.13 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/1.088, allocations: 1.006 MB / 1.131 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.088, allocations: 2.562 kB / 1.131 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/1.088, allocations: 67.25 kB / 1.131 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003147/1.088, allocations: 83.41 kB / 1.131 GB, free: 12.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/1.088, allocations: 9.828 kB / 1.131 GB, free: 12.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/1.09, allocations: 1.577 MB / 1.132 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.09, allocations: 0 / 1.132 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/1.091, allocations: 0.6032 MB / 1.133 GB, free: 10.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/1.091, allocations: 157.4 kB / 1.133 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/1.091, allocations: 10.67 kB / 1.133 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/1.092, allocations: 15.55 kB / 1.133 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/1.092, allocations: 20.42 kB / 1.133 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/1.092, allocations: 16.94 kB / 1.133 GB, free: 10.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004187/1.092, allocations: 302.6 kB / 1.133 GB, free: 10.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.092, allocations: 0 / 1.133 GB, free: 10.56 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006332/1.093, allocations: 124.7 kB / 1.133 GB, free: 10.56 MB / 0.698 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.002228/1.095, allocations: 1.544 MB / 1.135 GB, free: 9.617 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008088/1.096, allocations: 439.1 kB / 1.135 GB, free: 9.449 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.096, allocations: 0 / 1.135 GB, free: 9.449 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003127/1.096, allocations: 248.7 kB / 1.136 GB, free: 9.316 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/1.097, allocations: 232.3 kB / 1.136 GB, free: 9.234 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/1.1, allocations: 2.36 MB / 1.138 GB, free: 7.367 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/1.1, allocations: 0.8635 MB / 1.139 GB, free: 6.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003936/1.101, allocations: 85.14 kB / 1.139 GB, free: 6.551 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/1.101, allocations: 157.1 kB / 1.139 GB, free: 6.527 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/1.101, allocations: 0 / 1.139 GB, free: 6.527 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/1.136, allocations: 12.61 MB / 1.152 GB, free: 436 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/1.136, allocations: 239.4 kB / 1.152 GB, free: 188 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.589, allocations: 0 / 1.152 GB, free: 188 kB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)