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.312/2.312, allocations: 248.5 MB / 261.1 MB, free: 6.047 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.002042/0.002042, allocations: 178.5 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.2 MB / 0.571 GB, free: 11.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.001129/0.001129, allocations: 94.48 kB / 0.6754 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.16e-05/4.204e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1957, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.363, allocations: 355.3 MB / 1.238 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/1.363, allocations: 91.19 kB / 1.238 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03702/1.4, allocations: 9.33 MB / 1.247 GB, free: 3.594 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.983e-06/1.4, allocations: 4 kB / 1.247 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.37e-05/1.4, allocations: 0 / 1.247 GB, free: 3.59 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.0009794/1.401, allocations: 462 kB / 1.247 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.401, allocations: 8.031 kB / 1.247 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.892e-05/1.402, allocations: 46.48 kB / 1.247 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.641e-05/1.402, allocations: 27.72 kB / 1.247 GB, free: 3.004 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/1.402, allocations: 241.6 kB / 1.248 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/1.402, allocations: 0 / 1.248 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/1.402, allocations: 8 kB / 1.248 GB, free: 2.723 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/1.403, allocations: 113.6 kB / 1.248 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.403, allocations: 0 / 1.248 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/1.403, allocations: 8 kB / 1.248 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.475e-05/1.403, allocations: 19.92 kB / 1.248 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/1.403, allocations: 95.95 kB / 1.248 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/1.404, allocations: 460.5 kB / 1.248 GB, free: 1.984 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/1.405, allocations: 139.4 kB / 1.248 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/1.405, allocations: 84.78 kB / 1.249 GB, free: 1.754 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/1.405, allocations: 4.25 kB / 1.249 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/1.405, allocations: 30.56 kB / 1.249 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.825e-06/1.405, allocations: 0 / 1.249 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0005803/1.406, allocations: 185.3 kB / 1.249 GB, free: 1.527 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/1.406, allocations: 51.41 kB / 1.249 GB, free: 1.465 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/1.406, allocations: 184.9 kB / 1.249 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/1.406, allocations: 29.7 kB / 1.249 GB, free: 1.242 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.406, allocations: 120.1 kB / 1.249 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.441e-05/1.406, allocations: 47.34 kB / 1.249 GB, free: 1.074 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/1.406, allocations: 0 / 1.249 GB, free: 1.074 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.406, allocations: 334.8 kB / 1.249 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/1.407, allocations: 55.92 kB / 1.25 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/1.407, allocations: 51.97 kB / 1.25 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/1.407, allocations: 51.97 kB / 1.25 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.407, allocations: 0 / 1.25 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005043/1.408, allocations: 169.4 kB / 1.25 GB, free: 420 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/1.408, allocations: 7.953 kB / 1.25 GB, free: 412 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.408, allocations: 3.984 kB / 1.25 GB, free: 408 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.408, allocations: 7.938 kB / 1.25 GB, free: 400 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/1.408, allocations: 35.97 kB / 1.25 GB, free: 364 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/1.408, allocations: 4 kB / 1.25 GB, free: 360 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/1.408, allocations: 27.83 kB / 1.25 GB, free: 332 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/1.409, allocations: 3.984 kB / 1.25 GB, free: 328 kB / 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.0001157/1.409, allocations: 112.9 kB / 1.25 GB, free: 208 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/1.409, allocations: 15.81 kB / 1.25 GB, free: 192 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.682e-05/1.409, allocations: 25.92 kB / 1.25 GB, free: 168 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/1.409, allocations: 11.98 kB / 1.25 GB, free: 156 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.409, allocations: 0 / 1.25 GB, free: 156 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/1.409, allocations: 0 / 1.25 GB, free: 156 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5702/1.979, allocations: 255.2 kB / 1.25 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.979, allocations: 0.6094 kB / 1.25 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004859/1.98, allocations: 37.88 kB / 1.25 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/1.98, allocations: 0.75 kB / 1.25 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/1.98, allocations: 4.656 kB / 1.25 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/1.98, allocations: 2.672 kB / 1.25 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.98, allocations: 2.625 kB / 1.25 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005991/1.98, allocations: 266 kB / 1.251 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/1.981, allocations: 115.1 kB / 1.251 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/1.981, allocations: 5.531 kB / 1.251 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/1.981, allocations: 18.03 kB / 1.251 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/1.981, allocations: 12.16 kB / 1.251 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/1.981, allocations: 9.812 kB / 1.251 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002105/1.981, allocations: 155.8 kB / 1.251 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.21e-07/1.981, allocations: 0 / 1.251 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004044/1.982, allocations: 38.88 kB / 1.251 GB, free: 307.2 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.0009805/1.983, allocations: 0.8601 MB / 1.252 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004646/1.983, allocations: 126 kB / 1.252 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.983, allocations: 0.625 kB / 1.252 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/1.983, allocations: 70.62 kB / 1.252 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/1.984, allocations: 30.47 kB / 1.252 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/1.985, allocations: 298.3 kB / 1.252 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/1.985, allocations: 0.735 MB / 1.253 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003194/1.985, allocations: 51.91 kB / 1.253 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/1.986, allocations: 52.86 kB / 1.253 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.102e-06/1.986, allocations: 0 / 1.253 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03563/2.021, allocations: 4.579 MB / 1.258 GB, free: 305.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/2.022, allocations: 181.4 kB / 1.258 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/4.426, allocations: 0 / 1.258 GB, free: 305.2 MB / 0.8542 GB