Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.199/2.199, 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.001523/0.001523, allocations: 173.2 kB / 325.5 MB, free: 2.914 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.424/2.424, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001186/0.001185, allocations: 95.8 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004824, allocations: 12.78 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2226, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.196/1.418, allocations: 355.3 MB / 1.246 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/1.419, allocations: 87.2 kB / 1.246 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.03613/1.455, allocations: 9.248 MB / 1.255 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.803e-06/1.455, allocations: 3.938 kB / 1.255 GB, free: 6.645 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.591e-05/1.455, allocations: 4 kB / 1.255 GB, free: 6.641 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.001029/1.456, allocations: 497.8 kB / 1.255 GB, free: 6.117 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.456, allocations: 12.03 kB / 1.255 GB, free: 6.105 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.766e-05/1.456, allocations: 34.19 kB / 1.255 GB, free: 6.066 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/1.456, allocations: 23.77 kB / 1.255 GB, free: 6.043 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/1.457, allocations: 244.2 kB / 1.256 GB, free: 5.777 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/1.457, allocations: 4 kB / 1.256 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/1.457, allocations: 0 / 1.256 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005694/1.458, allocations: 148.9 kB / 1.256 GB, free: 5.648 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.458, allocations: 0 / 1.256 GB, free: 5.648 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/1.458, allocations: 0 / 1.256 GB, free: 5.648 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/1.458, allocations: 19.94 kB / 1.256 GB, free: 5.629 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000799/1.458, allocations: 152.4 kB / 1.256 GB, free: 5.508 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/1.46, allocations: 448.9 kB / 1.256 GB, free: 5.074 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/1.46, allocations: 175.9 kB / 1.257 GB, free: 4.934 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/1.46, allocations: 0 / 1.257 GB, free: 4.934 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/1.46, allocations: 41.83 kB / 1.257 GB, free: 4.887 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/1.46, allocations: 0 / 1.257 GB, free: 4.887 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.001457/1.462, allocations: 303.9 kB / 1.257 GB, free: 4.633 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/1.462, allocations: 59.41 kB / 1.257 GB, free: 4.562 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/1.462, allocations: 184.6 kB / 1.257 GB, free: 4.398 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/1.462, allocations: 25.7 kB / 1.257 GB, free: 4.367 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/1.462, allocations: 125.3 kB / 1.257 GB, free: 4.266 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/1.462, allocations: 50.12 kB / 1.257 GB, free: 4.223 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/1.462, allocations: 3.25 kB / 1.257 GB, free: 4.223 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.463, allocations: 326.1 kB / 1.258 GB, free: 3.902 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/1.463, allocations: 81.94 kB / 1.258 GB, free: 3.836 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/1.463, allocations: 74.31 kB / 1.258 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/1.464, allocations: 88.12 kB / 1.258 GB, free: 3.711 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.464, allocations: 0 / 1.258 GB, free: 3.711 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00096/1.465, allocations: 233 kB / 1.258 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.465, allocations: 4 kB / 1.258 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.465, allocations: 3.953 kB / 1.258 GB, free: 3.504 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.465, allocations: 4 kB / 1.258 GB, free: 3.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/1.465, allocations: 35.97 kB / 1.258 GB, free: 3.465 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/1.465, allocations: 4 kB / 1.258 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/1.466, allocations: 23.66 kB / 1.258 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/1.466, allocations: 0 / 1.258 GB, free: 3.441 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.0001687/1.466, allocations: 142.3 kB / 1.258 GB, free: 3.305 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/1.466, allocations: 19.72 kB / 1.258 GB, free: 3.285 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.957e-05/1.466, allocations: 20.53 kB / 1.258 GB, free: 3.273 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/1.466, allocations: 3.953 kB / 1.258 GB, free: 3.27 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.466, allocations: 4 kB / 1.258 GB, free: 3.266 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/1.466, allocations: 3.984 kB / 1.258 GB, free: 3.262 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/1.466, allocations: 249.5 kB / 1.259 GB, free: 3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.466, allocations: 0 / 1.259 GB, free: 3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/1.467, allocations: 47.94 kB / 1.259 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.467, allocations: 0 / 1.259 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/1.467, allocations: 7.438 kB / 1.259 GB, free: 2.949 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/1.467, allocations: 0 / 1.259 GB, free: 2.949 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.467, allocations: 7.891 kB / 1.259 GB, free: 2.941 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/1.468, allocations: 325.1 kB / 1.259 GB, free: 2.645 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/1.468, allocations: 111.9 kB / 1.259 GB, free: 2.523 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/1.468, allocations: 0 / 1.259 GB, free: 2.523 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/1.469, allocations: 23.73 kB / 1.259 GB, free: 2.504 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/1.469, allocations: 11.94 kB / 1.259 GB, free: 2.492 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/1.469, allocations: 7.984 kB / 1.259 GB, free: 2.484 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002293/1.469, allocations: 148.9 kB / 1.259 GB, free: 2.359 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.11e-07/1.469, allocations: 0 / 1.259 GB, free: 2.359 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004537/1.469, allocations: 42.88 kB / 1.259 GB, free: 2.324 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.001521/1.471, allocations: 0.9117 MB / 1.26 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009238/1.472, allocations: 183 kB / 1.26 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.472, allocations: 3.938 kB / 1.26 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004524/1.472, allocations: 105.2 kB / 1.26 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/1.473, allocations: 19.47 kB / 1.26 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/1.476, allocations: 1.269 MB / 1.262 GB, free: 8 kB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/1.477, allocations: 0.735 MB / 1.262 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003115/1.477, allocations: 44.59 kB / 1.262 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/1.477, allocations: 53.09 kB / 1.263 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of SimCode: time 1.082e-06/1.477, allocations: 0 / 1.263 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/1.503, allocations: 4.261 MB / 1.267 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003289/1.503, allocations: 205.5 kB / 1.267 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/4.036, allocations: 3.125 kB / 1.267 GB, free: 10.86 MB / 0.7761 GB