Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.186/2.186, 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.001556/0.001556, allocations: 178.5 kB / 325.5 MB, free: 2.891 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.436/2.436, 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.001205/0.001205, allocations: 92.11 kB / 0.6809 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004932, allocations: 15.48 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2297, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/1.436, allocations: 355.9 MB / 1.246 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/1.436, allocations: 91.5 kB / 1.246 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.0459/1.482, allocations: 10.69 MB / 1.257 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.994e-06/1.482, allocations: 4 kB / 1.257 GB, free: 4.699 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.264e-05/1.482, allocations: 8 kB / 1.257 GB, free: 4.691 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001791/1.484, allocations: 0.6097 MB / 1.257 GB, free: 4.047 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/1.484, allocations: 8.031 kB / 1.257 GB, free: 4.039 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.793e-05/1.484, allocations: 38.38 kB / 1.258 GB, free: 3.996 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.518e-05/1.485, allocations: 27.62 kB / 1.258 GB, free: 3.969 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009747/1.485, allocations: 273.3 kB / 1.258 GB, free: 3.676 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/1.486, allocations: 11.81 kB / 1.258 GB, free: 3.668 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/1.486, allocations: 4 kB / 1.258 GB, free: 3.664 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008715/1.486, allocations: 191.4 kB / 1.258 GB, free: 3.5 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/1.486, allocations: 0 / 1.258 GB, free: 3.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/1.487, allocations: 11.48 kB / 1.258 GB, free: 3.492 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/1.487, allocations: 0 / 1.258 GB, free: 3.492 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/1.488, allocations: 236.2 kB / 1.258 GB, free: 3.293 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/1.489, allocations: 496.3 kB / 1.259 GB, free: 2.828 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/1.49, allocations: 147.6 kB / 1.259 GB, free: 2.695 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/1.491, allocations: 0.5178 MB / 1.259 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/1.491, allocations: 34 kB / 1.259 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=11): time 3.407e-06/1.491, allocations: 0 / 1.259 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of matching and sorting (n=11): time 0.002378/1.494, allocations: 414.5 kB / 1.26 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/1.494, allocations: 55.34 kB / 1.26 GB, free: 1.609 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/1.494, allocations: 209.1 kB / 1.26 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/1.494, allocations: 29.39 kB / 1.26 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/1.494, allocations: 136.8 kB / 1.26 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.832e-05/1.494, allocations: 43.09 kB / 1.26 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/1.494, allocations: 0 / 1.26 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.494, allocations: 333.8 kB / 1.261 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006981/1.495, allocations: 117.1 kB / 1.261 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006703/1.496, allocations: 113.3 kB / 1.261 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/1.497, allocations: 117.7 kB / 1.261 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.497, allocations: 0 / 1.261 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001531/1.498, allocations: 304.4 kB / 1.261 GB, free: 384 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.498, allocations: 7.953 kB / 1.261 GB, free: 376 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/1.498, allocations: 7.938 kB / 1.261 GB, free: 368 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.498, allocations: 0 / 1.261 GB, free: 368 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/1.499, allocations: 59.88 kB / 1.261 GB, free: 308 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/1.499, allocations: 8 kB / 1.261 GB, free: 300 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/1.499, allocations: 39.81 kB / 1.261 GB, free: 260 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/1.499, allocations: 11.23 kB / 1.261 GB, free: 252 kB / 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 (11): * Single equations (assignments): 11 * 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.0002027/1.5, allocations: 123.1 kB / 1.261 GB, free: 128 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/1.5, allocations: 19.81 kB / 1.261 GB, free: 108 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/1.501, allocations: 339.6 kB / 1.262 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/1.502, allocations: 0 / 1.262 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.502, allocations: 0 / 1.262 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.502, allocations: 0 / 1.262 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/1.502, allocations: 268.5 kB / 1.262 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.502, allocations: 0 / 1.262 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/1.503, allocations: 59.94 kB / 1.262 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/1.503, allocations: 0 / 1.262 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/1.503, allocations: 7.984 kB / 1.262 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/1.503, allocations: 3.953 kB / 1.262 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.503, allocations: 3.984 kB / 1.262 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/1.504, allocations: 406.1 kB / 1.262 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/1.505, allocations: 112 kB / 1.263 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.901e-05/1.505, allocations: 3.938 kB / 1.263 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004652/1.505, allocations: 31.97 kB / 1.263 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.505, allocations: 19.73 kB / 1.263 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/1.505, allocations: 8 kB / 1.263 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002402/1.505, allocations: 170.5 kB / 1.263 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.81e-07/1.506, allocations: 0 / 1.263 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005147/1.506, allocations: 67.44 kB / 1.263 GB, free: 14.73 MB / 0.7761 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 (11): * Single equations (assignments): 11 * 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.00225/1.508, allocations: 1.012 MB / 1.264 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001502/1.51, allocations: 255.7 kB / 1.264 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.51, allocations: 0 / 1.264 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007338/1.511, allocations: 145.7 kB / 1.264 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/1.511, allocations: 27.5 kB / 1.264 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004535/1.516, allocations: 1.479 MB / 1.266 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/1.516, allocations: 0.7468 MB / 1.266 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000356/1.516, allocations: 32.84 kB / 1.266 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/1.517, allocations: 67.91 kB / 1.267 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of SimCode: time 1.633e-06/1.517, allocations: 0 / 1.267 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/1.545, allocations: 5.25 MB / 1.272 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003417/1.546, allocations: 208.8 kB / 1.272 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/4.102, allocations: 0 / 1.272 GB, free: 5.891 MB / 0.7761 GB