Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.25/1.25, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008618/0.0008618, allocations: 175 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006708/0.0006708, allocations: 93.64 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002704/0.0002705, allocations: 9.625 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.157, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1343/0.2913, allocations: 160.4 MB / 1.053 GB, free: 3.066 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.3405/0.6318, allocations: 3.342 MB / 1.056 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006153/0.6325, allocations: 18.03 kB / 1.056 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007187/0.6332, allocations: 250.4 kB / 1.056 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.6348, allocations: 0.8009 MB / 1.057 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008038/0.6356, allocations: 414.5 kB / 1.058 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001115/0.6367, allocations: 1.42 MB / 1.059 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003511/0.6371, allocations: 275.4 kB / 1.059 GB, free: 1.859 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004885/0.6376, allocations: 365 kB / 1.06 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009153/0.6385, allocations: 344.6 kB / 1.06 GB, free: 1.852 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.13e-05/0.6386, allocations: 17.47 kB / 1.06 GB, free: 1.852 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.6399, allocations: 0.7718 MB / 1.061 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.6401, allocations: 143.9 kB / 1.061 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.6403, allocations: 241.4 kB / 1.061 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.6414, allocations: 0.9471 MB / 1.062 GB, free: 1.789 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6414, allocations: 0 / 1.062 GB, free: 1.789 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6414, allocations: 1.75 kB / 1.062 GB, free: 1.789 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.6414, allocations: 4 kB / 1.062 GB, free: 1.785 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001148/0.6426, allocations: 0.7603 MB / 1.063 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.6426, allocations: 7.906 kB / 1.063 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.835e-05/0.6427, allocations: 68.98 kB / 1.063 GB, free: 17.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008801/0.6436, allocations: 147.7 kB / 1.063 GB, free: 17.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005887/0.6442, allocations: 490.7 kB / 1.063 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.6442, allocations: 23.17 kB / 1.063 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.6443, allocations: 35 kB / 1.063 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.6449, allocations: 327.2 kB / 1.064 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.6449, allocations: 0 / 1.064 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.6449, allocations: 23.92 kB / 1.064 GB, free: 16.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.645, allocations: 10.47 kB / 1.064 GB, free: 16.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.6454, allocations: 219.2 kB / 1.064 GB, free: 16.84 MB / 0.7136 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.001983/0.6474, allocations: 1.425 MB / 1.065 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.6478, allocations: 214 kB / 1.066 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.6479, allocations: 110 kB / 1.066 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.648, allocations: 4.641 kB / 1.066 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002942/0.6483, allocations: 166.5 kB / 1.066 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/0.6483, allocations: 0 / 1.066 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.002939/0.6512, allocations: 1.146 MB / 1.067 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.6513, allocations: 59.16 kB / 1.067 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/0.6519, allocations: 451 kB / 1.067 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.6519, allocations: 32.55 kB / 1.067 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.6521, allocations: 243.3 kB / 1.068 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.516e-05/0.6522, allocations: 99.06 kB / 1.068 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.6522, allocations: 43.56 kB / 1.068 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6523, allocations: 355.8 kB / 1.068 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.6526, allocations: 130.8 kB / 1.068 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.6528, allocations: 200.5 kB / 1.068 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004427/0.6533, allocations: 320.1 kB / 1.069 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6533, allocations: 0 / 1.069 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009521/0.6543, allocations: 0.4907 MB / 1.069 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.6543, allocations: 5.219 kB / 1.069 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.6543, allocations: 3.25 kB / 1.069 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/0.6546, allocations: 76.72 kB / 1.069 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.6549, allocations: 76.19 kB / 1.069 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.6567, allocations: 1.775 MB / 1.071 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.657, allocations: 35.86 kB / 1.071 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.6571, allocations: 16.47 kB / 1.071 GB, free: 13.3 MB / 0.7136 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.000227/0.6573, allocations: 197.8 kB / 1.071 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/0.6574, allocations: 48.69 kB / 1.071 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.97e-05/0.6575, allocations: 57.5 kB / 1.071 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6575, allocations: 3.75 kB / 1.071 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6575, allocations: 1.25 kB / 1.072 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6575, allocations: 6.719 kB / 1.072 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.6591, allocations: 1.014 MB / 1.072 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.6591, allocations: 1.594 kB / 1.072 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.6595, allocations: 68.75 kB / 1.073 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002875/0.6598, allocations: 75.92 kB / 1.073 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.6598, allocations: 9.891 kB / 1.073 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.6611, allocations: 1.557 MB / 1.074 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6611, allocations: 0 / 1.074 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009751/0.662, allocations: 0.5894 MB / 1.075 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.6622, allocations: 157.4 kB / 1.075 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/0.6623, allocations: 12.42 kB / 1.075 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.6627, allocations: 26.97 kB / 1.075 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.6628, allocations: 22.11 kB / 1.075 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.6628, allocations: 15.22 kB / 1.075 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000407/0.6632, allocations: 306.1 kB / 1.075 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6632, allocations: 0 / 1.075 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005765/0.6638, allocations: 121.2 kB / 1.075 GB, free: 11.15 MB / 0.7136 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.002086/0.6659, allocations: 1.458 MB / 1.077 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009049/0.6668, allocations: 460.3 kB / 1.077 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6668, allocations: 1.344 kB / 1.077 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.6671, allocations: 255.5 kB / 1.077 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.6682, allocations: 232.2 kB / 1.078 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005618/0.6739, allocations: 4.332 MB / 1.082 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.6742, allocations: 0.8531 MB / 1.083 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003996/0.6746, allocations: 92.11 kB / 1.083 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.6748, allocations: 149.7 kB / 1.083 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/0.6748, allocations: 0 / 1.083 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5236/1.198, allocations: 12.15 MB / 1.095 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/1.199, allocations: 261.3 kB / 1.095 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.613, allocations: 1.859 kB / 1.095 GB, free: 6.094 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)