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.187/2.187, allocations: 248.7 MB / 256.2 MB, free: 7.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.001529, allocations: 178.4 kB / 315.4 MB, free: 4.016 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.122/2.122, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001181/0.00118, allocations: 103.6 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.096e-05/2.085e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1911, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.176/1.367, allocations: 356.1 MB / 1.232 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/1.367, allocations: 88.12 kB / 1.232 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05699/1.424, allocations: 10.57 MB / 1.242 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.384e-06/1.424, allocations: 4 kB / 1.242 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.195e-05/1.424, allocations: 0 / 1.242 GB, free: 5.812 MB / 0.8542 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.002407/1.427, allocations: 0.5766 MB / 1.243 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/1.427, allocations: 12.03 kB / 1.243 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/1.427, allocations: 23.66 kB / 1.243 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/1.428, allocations: 268.7 kB / 1.243 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/1.428, allocations: 8 kB / 1.243 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/1.428, allocations: 11.98 kB / 1.243 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004781/1.429, allocations: 97.38 kB / 1.243 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/1.429, allocations: 111.1 kB / 1.243 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.429, allocations: 0 / 1.243 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/1.429, allocations: 0 / 1.243 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.429, allocations: 0 / 1.243 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/1.431, allocations: 465.2 kB / 1.244 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/1.431, allocations: 74.88 kB / 1.244 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/1.432, allocations: 60.91 kB / 1.244 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/1.433, allocations: 0.5059 MB / 1.244 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/1.433, allocations: 30.56 kB / 1.244 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 3.907e-06/1.433, allocations: 0 / 1.244 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.6986/2.132, allocations: 3.734 MB / 1.248 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/2.132, allocations: 56.45 kB / 1.248 GB, free: 309.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/2.132, allocations: 190 kB / 1.248 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/2.132, allocations: 26.48 kB / 1.248 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/2.132, allocations: 141.6 kB / 1.248 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.904e-05/2.132, allocations: 37.56 kB / 1.248 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/2.132, allocations: 2.281 kB / 1.248 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/2.133, allocations: 336 kB / 1.249 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/2.133, allocations: 48.62 kB / 1.249 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/2.133, allocations: 44.7 kB / 1.249 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1108/2.244, allocations: 3.633 MB / 1.252 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/2.244, allocations: 0.5625 kB / 1.252 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.1117/2.355, allocations: 3.734 MB / 1.256 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/2.355, allocations: 5.25 kB / 1.256 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/2.355, allocations: 0.7812 kB / 1.256 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/2.356, allocations: 5.781 kB / 1.256 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/2.356, allocations: 53.53 kB / 1.256 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/2.356, allocations: 7.828 kB / 1.256 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/2.357, allocations: 38.28 kB / 1.256 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/2.357, allocations: 7.797 kB / 1.256 GB, free: 308.8 MB / 0.8542 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 () * 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 9.787e-05/2.357, allocations: 105.6 kB / 1.256 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1103/2.467, allocations: 3.737 MB / 1.26 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/2.467, allocations: 25.2 kB / 1.26 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.11/2.577, allocations: 3.761 MB / 1.264 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/2.577, allocations: 5.172 kB / 1.264 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/2.577, allocations: 5.219 kB / 1.264 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/2.577, allocations: 0 / 1.264 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/2.578, allocations: 242.5 kB / 1.264 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/2.578, allocations: 2 kB / 1.264 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005528/2.578, allocations: 53 kB / 1.264 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/2.578, allocations: 4 kB / 1.264 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/2.578, allocations: 5.891 kB / 1.264 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/2.578, allocations: 0 / 1.264 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/2.578, allocations: 1.094 kB / 1.264 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1097/2.688, allocations: 3.838 MB / 1.268 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/2.688, allocations: 111.4 kB / 1.268 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.2e-05/2.688, allocations: 0.9688 kB / 1.268 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004535/2.689, allocations: 34 kB / 1.268 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/2.689, allocations: 16.59 kB / 1.268 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/2.689, allocations: 12.2 kB / 1.268 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001814/2.689, allocations: 153.9 kB / 1.268 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.11e-07/2.689, allocations: 1.312 kB / 1.268 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005075/2.69, allocations: 70.2 kB / 1.268 GB, free: 307.3 MB / 0.8542 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 () * 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.1101/2.8, allocations: 4.448 MB / 1.272 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004121/2.8, allocations: 115.9 kB / 1.273 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/2.8, allocations: 1.344 kB / 1.273 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/2.8, allocations: 69.38 kB / 1.273 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/2.801, allocations: 28.72 kB / 1.273 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/2.802, allocations: 303.5 kB / 1.273 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/2.802, allocations: 0.7485 MB / 1.274 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003387/2.802, allocations: 34.23 kB / 1.274 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/2.803, allocations: 66.12 kB / 1.274 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of SimCode: time 9.82e-07/2.803, allocations: 0 / 1.274 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0422/2.845, allocations: 4.363 MB / 1.278 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/2.845, allocations: 159.6 kB / 1.278 GB, free: 303.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/5.29, allocations: 0 / 1.278 GB, free: 303.4 MB / 0.8542 GB