Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",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.139/2.139, allocations: 248.7 MB / 256.2 MB, free: 7.098 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.00144/0.001439, allocations: 182.9 kB / 315.4 MB, free: 4.027 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.004/2.004, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 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.001143/0.001143, allocations: 88.42 kB / 0.6704 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.696e-05/2.702e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2206, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8683/1.089, allocations: 132.4 MB / 1.013 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.089, allocations: 86.62 kB / 1.013 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004691/1.094, allocations: 1.15 MB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.282e-06/1.094, allocations: 4 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.264e-06/1.094, allocations: 0 / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004888/1.095, allocations: 346.1 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.095, allocations: 12.03 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/1.095, allocations: 4.938 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/1.095, allocations: 171 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/1.095, allocations: 10.69 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/1.095, allocations: 0 / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001031/1.095, allocations: 19.86 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/1.095, allocations: 41.56 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/1.095, allocations: 3.938 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/1.095, allocations: 0 / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/1.095, allocations: 4 kB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/1.096, allocations: 255.5 kB / 1.015 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.308e-05/1.096, allocations: 30.45 kB / 1.015 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/1.096, allocations: 16.55 kB / 1.015 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/1.096, allocations: 0 / 1.015 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/1.096, allocations: 34.56 kB / 1.015 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/1.096, allocations: 0 / 1.015 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002071/1.096, allocations: 53.09 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/1.096, allocations: 55.41 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.832e-05/1.096, allocations: 104.9 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/1.096, allocations: 25.7 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/1.096, allocations: 91.8 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/1.096, allocations: 11.83 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/1.096, allocations: 0 / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.096, allocations: 318.8 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.305e-05/1.097, allocations: 7.938 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.039e-05/1.097, allocations: 11.94 kB / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.118e-05/1.097, allocations: 11.86 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.097, allocations: 0 / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001293/1.097, allocations: 53.47 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.097, allocations: 4 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.097, allocations: 3.938 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/1.097, allocations: 3.938 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/1.097, allocations: 11.98 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/1.097, allocations: 0 / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.384e-05/1.097, allocations: 12 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/1.097, allocations: 0 / 1.016 GB, free: 3.559 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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 7.849e-05/1.097, allocations: 104.9 kB / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001311/1.097, allocations: 53.25 kB / 1.016 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/1.097, allocations: 3.906 kB / 1.016 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/1.098, allocations: 16.08 kB / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.098, allocations: 0 / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.098, allocations: 0 / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/1.098, allocations: 4.188 kB / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/1.098, allocations: 157.5 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.098, allocations: 0 / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/1.098, allocations: 19.92 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/1.098, allocations: 3.984 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/1.098, allocations: 0 / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.098, allocations: 0 / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/1.098, allocations: 0 / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/1.098, allocations: 157.9 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/1.098, allocations: 81.09 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/1.098, allocations: 0 / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/1.098, allocations: 8 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/1.098, allocations: 7.922 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/1.098, allocations: 0 / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.924e-05/1.099, allocations: 87.94 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/1.099, allocations: 0 / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003035/1.099, allocations: 8 kB / 1.017 GB, free: 2.809 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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.0004487/1.099, allocations: 0.6924 MB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001138/1.099, allocations: 15.94 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.099, allocations: 0 / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/1.1, allocations: 11.69 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/1.1, allocations: 3.812 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/1.1, allocations: 115.7 kB / 1.018 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/1.1, allocations: 0.6923 MB / 1.018 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.008e-05/1.101, allocations: 0 / 1.018 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/1.101, allocations: 19.05 kB / 1.018 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of SimCode: time 7.02e-07/1.101, allocations: 4 kB / 1.018 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/1.136, allocations: 0.9105 MB / 1.019 GB, free: 308 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003129/1.136, allocations: 161.2 kB / 1.019 GB, free: 116 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/3.253, allocations: 3 kB / 1.019 GB, free: 116 kB / 0.6355 GB