Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.105/2.105, allocations: 251 MB / 265.9 MB, free: 11.69 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.001589/0.001588, allocations: 186.7 kB / 325.5 MB, free: 2.898 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.479/2.479, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001205/0.001205, allocations: 100.6 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005154/0.0005155, allocations: 11.56 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2319, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.424, allocations: 355.4 MB / 1.246 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/1.424, allocations: 87.25 kB / 1.246 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.03866/1.463, allocations: 9.374 MB / 1.255 GB, free: 6.188 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.054e-06/1.463, allocations: 0 / 1.255 GB, free: 6.188 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.403e-05/1.463, allocations: 4 kB / 1.255 GB, free: 6.184 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001133/1.464, allocations: 0.4937 MB / 1.256 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.464, allocations: 8.031 kB / 1.256 GB, free: 5.645 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.952e-05/1.464, allocations: 41.81 kB / 1.256 GB, free: 5.598 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/1.464, allocations: 23.72 kB / 1.256 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/1.465, allocations: 247.9 kB / 1.256 GB, free: 5.305 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/1.465, allocations: 0 / 1.256 GB, free: 5.305 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/1.465, allocations: 4 kB / 1.256 GB, free: 5.301 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005876/1.466, allocations: 149.8 kB / 1.256 GB, free: 5.172 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/1.466, allocations: 0 / 1.256 GB, free: 5.172 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/1.466, allocations: 3.625 kB / 1.256 GB, free: 5.172 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.498e-05/1.466, allocations: 11.95 kB / 1.256 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008272/1.466, allocations: 168 kB / 1.256 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/1.468, allocations: 461.2 kB / 1.257 GB, free: 4.586 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007498/1.468, allocations: 176.2 kB / 1.257 GB, free: 4.445 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/1.468, allocations: 11.45 kB / 1.257 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/1.468, allocations: 34.56 kB / 1.257 GB, free: 4.395 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/1.469, allocations: 0 / 1.257 GB, free: 4.395 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.001543/1.47, allocations: 322.2 kB / 1.257 GB, free: 4.129 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/1.47, allocations: 55.41 kB / 1.257 GB, free: 4.062 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/1.47, allocations: 188.9 kB / 1.257 GB, free: 3.895 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/1.47, allocations: 29.45 kB / 1.257 GB, free: 3.863 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.892e-05/1.471, allocations: 124.8 kB / 1.258 GB, free: 3.762 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.923e-05/1.471, allocations: 42.23 kB / 1.258 GB, free: 3.727 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/1.471, allocations: 0 / 1.258 GB, free: 3.727 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.471, allocations: 333.5 kB / 1.258 GB, free: 3.402 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/1.471, allocations: 82.69 kB / 1.258 GB, free: 3.336 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/1.472, allocations: 81.56 kB / 1.258 GB, free: 3.273 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00045/1.472, allocations: 88.44 kB / 1.258 GB, free: 3.207 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.472, allocations: 0 / 1.258 GB, free: 3.207 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00102/1.473, allocations: 238.3 kB / 1.258 GB, free: 3.008 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/1.473, allocations: 11.95 kB / 1.258 GB, free: 2.996 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.473, allocations: 0 / 1.258 GB, free: 2.996 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/1.473, allocations: 0 / 1.258 GB, free: 2.996 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/1.474, allocations: 43.95 kB / 1.258 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/1.474, allocations: 0 / 1.258 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/1.474, allocations: 19.89 kB / 1.258 GB, free: 2.934 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/1.474, allocations: 7.562 kB / 1.258 GB, free: 2.93 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001873/1.474, allocations: 134.7 kB / 1.259 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/1.474, allocations: 15.81 kB / 1.259 GB, free: 2.781 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.021e-05/1.475, allocations: 31.22 kB / 1.259 GB, free: 2.762 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/1.475, allocations: 4 kB / 1.259 GB, free: 2.758 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.475, allocations: 0 / 1.259 GB, free: 2.758 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/1.475, allocations: 0 / 1.259 GB, free: 2.758 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/1.475, allocations: 268.6 kB / 1.259 GB, free: 2.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.475, allocations: 0 / 1.259 GB, free: 2.48 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004309/1.476, allocations: 43.95 kB / 1.259 GB, free: 2.438 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/1.476, allocations: 0 / 1.259 GB, free: 2.438 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/1.476, allocations: 7.938 kB / 1.259 GB, free: 2.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.476, allocations: 7.953 kB / 1.259 GB, free: 2.422 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.476, allocations: 0 / 1.259 GB, free: 2.422 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/1.477, allocations: 329.8 kB / 1.259 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/1.477, allocations: 112.3 kB / 1.259 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/1.477, allocations: 0 / 1.259 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/1.477, allocations: 27.48 kB / 1.259 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/1.477, allocations: 15.92 kB / 1.259 GB, free: 1.965 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/1.477, allocations: 4 kB / 1.259 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002034/1.478, allocations: 160.9 kB / 1.26 GB, free: 1.828 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.11e-07/1.478, allocations: 0 / 1.26 GB, free: 1.828 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000429/1.478, allocations: 43.22 kB / 1.26 GB, free: 1.789 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001584/1.48, allocations: 0.9098 MB / 1.261 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009609/1.481, allocations: 191.9 kB / 1.261 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.481, allocations: 0 / 1.261 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004685/1.481, allocations: 101.6 kB / 1.261 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/1.482, allocations: 32.62 kB / 1.261 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/1.485, allocations: 1.308 MB / 1.262 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/1.486, allocations: 0.743 MB / 1.263 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003403/1.486, allocations: 56.52 kB / 1.263 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/1.486, allocations: 44.11 kB / 1.263 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of SimCode: time 1.002e-06/1.486, allocations: 4 kB / 1.263 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/1.513, allocations: 4.399 MB / 1.267 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005387/1.514, allocations: 201.9 kB / 1.267 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/3.986, allocations: 4 kB / 1.267 GB, free: 10.14 MB / 0.7761 GB