Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.384/2.384, allocations: 251 MB / 265.9 MB, free: 11.68 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.001542/0.001542, allocations: 194.1 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.508/2.508, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001174/0.001174, allocations: 97.42 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004814, allocations: 12 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2145, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.487/7.702, allocations: 2.19 GB / 3.089 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/7.702, allocations: 88.44 kB / 3.089 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5662/8.268, allocations: 167.6 MB / 3.253 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.744e-06/8.268, allocations: 0 / 3.253 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.89e-05/8.268, allocations: 8 kB / 3.253 GB, free: 177.3 MB / 0.8855 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.00214/8.27, allocations: 0.83 MB / 3.254 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/8.271, allocations: 8.031 kB / 3.254 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/8.271, allocations: 62.55 kB / 3.254 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/8.272, allocations: 147.2 kB / 3.254 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/8.274, allocations: 0.5012 MB / 3.254 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/8.274, allocations: 24.66 kB / 3.254 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.027e-05/8.274, allocations: 28 kB / 3.254 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008091/8.274, allocations: 328.8 kB / 3.255 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/8.275, allocations: 3.938 kB / 3.255 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/8.275, allocations: 12 kB / 3.255 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/8.275, allocations: 20.55 kB / 3.255 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006377/8.275, allocations: 218.1 kB / 3.255 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/8.278, allocations: 1.455 MB / 3.256 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/8.279, allocations: 223.1 kB / 3.257 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/8.279, allocations: 7.938 kB / 3.257 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004317/8.279, allocations: 175.6 kB / 3.257 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 3.217e-06/8.279, allocations: 0 / 3.257 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.004623/8.284, allocations: 1.158 MB / 3.258 GB, free: 171.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/8.284, allocations: 55.41 kB / 3.258 GB, free: 171.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007632/8.285, allocations: 409.1 kB / 3.258 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/8.285, allocations: 37.7 kB / 3.258 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/8.285, allocations: 236.2 kB / 3.259 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/8.285, allocations: 110.5 kB / 3.259 GB, free: 171 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/8.285, allocations: 4 kB / 3.259 GB, free: 171 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001087/8.285, allocations: 358.8 kB / 3.259 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/8.286, allocations: 136.8 kB / 3.259 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/8.286, allocations: 198.3 kB / 3.259 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/8.286, allocations: 171.5 kB / 3.26 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/8.286, allocations: 0 / 3.26 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001578/8.288, allocations: 0.4898 MB / 3.26 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/8.288, allocations: 8 kB / 3.26 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/8.288, allocations: 0 / 3.26 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/8.289, allocations: 84.88 kB / 3.26 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/8.289, allocations: 71.91 kB / 3.26 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/8.292, allocations: 1.783 MB / 3.262 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008325/8.293, allocations: 31.98 kB / 3.262 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/8.293, allocations: 19.94 kB / 3.262 GB, free: 167.5 MB / 0.8855 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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004305/8.293, allocations: 195.7 kB / 3.262 GB, free: 167.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.675e-05/8.293, allocations: 43.44 kB / 3.262 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/8.295, allocations: 418.8 kB / 3.263 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/8.295, allocations: 0 / 3.263 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/8.295, allocations: 7.953 kB / 3.263 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.569e-06/8.295, allocations: 4.109 kB / 3.263 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/8.297, allocations: 1.036 MB / 3.264 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/8.297, allocations: 4 kB / 3.264 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007067/8.298, allocations: 71.95 kB / 3.264 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004911/8.298, allocations: 72.83 kB / 3.264 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/8.298, allocations: 15.92 kB / 3.264 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/8.3, allocations: 1.57 MB / 3.265 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/8.3, allocations: 3.938 kB / 3.265 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/8.302, allocations: 0.6045 MB / 3.266 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/8.302, allocations: 160.5 kB / 3.266 GB, free: 163 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/8.302, allocations: 11.95 kB / 3.266 GB, free: 163 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006472/8.303, allocations: 19.92 kB / 3.266 GB, free: 163 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/8.303, allocations: 27.97 kB / 3.266 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/8.303, allocations: 11.98 kB / 3.266 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000553/8.304, allocations: 307.1 kB / 3.266 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.11e-07/8.304, allocations: 0 / 3.266 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00108/8.305, allocations: 191.9 kB / 3.267 GB, free: 162.4 MB / 0.8855 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 (28): * Single equations (assignments): 25 * 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.004201/8.309, allocations: 2.134 MB / 3.269 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001656/8.311, allocations: 462.6 kB / 3.269 GB, free: 160 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/8.311, allocations: 8 kB / 3.269 GB, free: 160 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004894/8.311, allocations: 258.5 kB / 3.269 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/8.313, allocations: 223.9 kB / 3.27 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/8.317, allocations: 2.399 MB / 3.272 GB, free: 157 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/8.318, allocations: 0.866 MB / 3.273 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006996/8.318, allocations: 88.3 kB / 3.273 GB, free: 156 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/8.319, allocations: 151.4 kB / 3.273 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.483e-06/8.319, allocations: 0 / 3.273 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06472/8.384, allocations: 23.95 MB / 3.296 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/8.384, allocations: 235.3 kB / 3.297 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.419/11.8, allocations: 0 / 3.297 GB, free: 131.9 MB / 0.8855 GB