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.289/2.289, allocations: 248.7 MB / 256.2 MB, free: 7.035 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.001533/0.001533, allocations: 174.1 kB / 315.4 MB, free: 4.004 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.081/2.081, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 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.001107/0.001107, allocations: 98.02 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.711e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1991, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/1.36, allocations: 355.6 MB / 1.231 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/1.36, allocations: 87.25 kB / 1.231 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03761/1.398, allocations: 9.241 MB / 1.24 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.313e-06/1.398, allocations: 0 / 1.24 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.695e-05/1.398, allocations: 11.94 kB / 1.24 GB, free: 7.754 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009446/1.399, allocations: 451.3 kB / 1.241 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.399, allocations: 12.03 kB / 1.241 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/1.399, allocations: 31.17 kB / 1.241 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006239/1.4, allocations: 243.8 kB / 1.241 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/1.4, allocations: 4 kB / 1.241 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/1.4, allocations: 4 kB / 1.241 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002221/1.4, allocations: 63.61 kB / 1.241 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/1.4, allocations: 110.1 kB / 1.241 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/1.4, allocations: 3.984 kB / 1.241 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/1.4, allocations: 3.953 kB / 1.241 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.975e-05/1.401, allocations: 15.94 kB / 1.241 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/1.402, allocations: 429.6 kB / 1.242 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/1.402, allocations: 138.4 kB / 1.242 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/1.402, allocations: 80.83 kB / 1.242 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/1.402, allocations: 0 / 1.242 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/1.402, allocations: 34.52 kB / 1.242 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 3.808e-06/1.402, allocations: 4 kB / 1.242 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0008467/1.403, allocations: 198.4 kB / 1.242 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/1.403, allocations: 51.41 kB / 1.242 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/1.403, allocations: 181.8 kB / 1.242 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/1.403, allocations: 25.7 kB / 1.242 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/1.404, allocations: 120.9 kB / 1.243 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/1.404, allocations: 45.42 kB / 1.243 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/1.404, allocations: 0 / 1.243 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.404, allocations: 330.1 kB / 1.243 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/1.404, allocations: 44.23 kB / 1.243 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/1.404, allocations: 53.91 kB / 1.243 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/1.405, allocations: 87.36 kB / 1.243 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.405, allocations: 0 / 1.243 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007157/1.405, allocations: 188.2 kB / 1.243 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/1.405, allocations: 13.86 kB / 1.243 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.405, allocations: 0 / 1.243 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.405, allocations: 7.891 kB / 1.243 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/1.406, allocations: 39.97 kB / 1.243 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/1.406, allocations: 0 / 1.243 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/1.406, allocations: 23.83 kB / 1.243 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/1.406, allocations: 11.3 kB / 1.243 GB, free: 4.945 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 (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.0001063/1.406, allocations: 101 kB / 1.243 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000738/1.407, allocations: 190.5 kB / 1.244 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/1.407, allocations: 27.67 kB / 1.244 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.427e-05/1.407, allocations: 24.58 kB / 1.244 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.407, allocations: 7.938 kB / 1.244 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.407, allocations: 0 / 1.244 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.407, allocations: 0 / 1.244 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/1.408, allocations: 234 kB / 1.244 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.408, allocations: 0 / 1.244 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/1.408, allocations: 39.95 kB / 1.244 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/1.408, allocations: 4 kB / 1.244 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/1.408, allocations: 4 kB / 1.244 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/1.408, allocations: 7.938 kB / 1.244 GB, free: 4.348 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.408, allocations: 0 / 1.244 GB, free: 4.348 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007762/1.409, allocations: 291.8 kB / 1.244 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/1.409, allocations: 116.1 kB / 1.244 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/1.409, allocations: 0 / 1.244 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/1.41, allocations: 19.98 kB / 1.244 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/1.41, allocations: 14.88 kB / 1.244 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/1.41, allocations: 4 kB / 1.244 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000176/1.41, allocations: 146.1 kB / 1.245 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-07/1.41, allocations: 0 / 1.245 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004135/1.41, allocations: 36 kB / 1.245 GB, free: 3.766 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 (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.001263/1.412, allocations: 0.8829 MB / 1.245 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003681/1.412, allocations: 119.4 kB / 1.246 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.412, allocations: 0 / 1.246 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/1.412, allocations: 71.41 kB / 1.246 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/1.413, allocations: 27.56 kB / 1.246 GB, free: 2.746 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/1.414, allocations: 287.3 kB / 1.246 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/1.414, allocations: 0.7352 MB / 1.247 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003141/1.414, allocations: 48.72 kB / 1.247 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/1.415, allocations: 49.8 kB / 1.247 GB, free: 1.629 MB / 0.8542 GB Notification: Performance of SimCode: time 9.12e-07/1.415, allocations: 0 / 1.247 GB, free: 1.629 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6128/2.027, allocations: 3.529 MB / 1.25 GB, free: 310 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/2.028, allocations: 172.8 kB / 1.25 GB, free: 309.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/4.355, allocations: 0 / 1.25 GB, free: 309.8 MB / 0.8542 GB