Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 2.03/2.03, allocations: 292.6 MB / 307.5 MB, free: 5.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 184 kB / 377.1 MB, free: 1.508 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.4 MB / 0.6366 GB, free: 8.633 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009623/0.0009623, allocations: 92.77 kB / 0.7509 GB, free: 62.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005854/0.0005854, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4608/0.4614, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.571, allocations: 139.6 MB / 1.125 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.571, allocations: 90.09 kB / 1.125 GB, free: 34.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003153/1.575, allocations: 1.143 MB / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.635e-06/1.575, allocations: 4 kB / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.043e-05/1.575, allocations: 4 kB / 1.126 GB, free: 33.93 MB / 0.7292 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.0004726/1.575, allocations: 368.9 kB / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.401e-05/1.575, allocations: 8.031 kB / 1.126 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.396e-05/1.575, allocations: 30.56 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/1.575, allocations: 7.375 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/1.575, allocations: 175.8 kB / 1.127 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/1.575, allocations: 4 kB / 1.127 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/1.575, allocations: 3.438 kB / 1.127 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/1.576, allocations: 65.03 kB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.576, allocations: 0 / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/1.576, allocations: 0 / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/1.576, allocations: 0 / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/1.576, allocations: 47.03 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/1.576, allocations: 270.9 kB / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/1.577, allocations: 46.8 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/1.577, allocations: 3.938 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/1.577, allocations: 30.56 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.334e-06/1.577, allocations: 0 / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0003645/1.577, allocations: 108.3 kB / 1.127 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/1.577, allocations: 54.97 kB / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.989e-05/1.577, allocations: 112.3 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/1.577, allocations: 25.7 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/1.577, allocations: 88.14 kB / 1.127 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/1.577, allocations: 11.41 kB / 1.127 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/1.577, allocations: 0 / 1.127 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/1.577, allocations: 322.8 kB / 1.128 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.697e-05/1.577, allocations: 19.52 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/1.578, allocations: 23.55 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/1.578, allocations: 24.97 kB / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.578, allocations: 4 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001708/1.578, allocations: 80.25 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.578, allocations: 4.938 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.578, allocations: 0 / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/1.578, allocations: 0 / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/1.578, allocations: 15.42 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/1.578, allocations: 4.844 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.352e-05/1.578, allocations: 8.25 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/1.578, allocations: 0 / 1.128 GB, free: 31.91 MB / 0.7292 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 (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 8.963e-05/1.578, allocations: 117.8 kB / 1.128 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/1.578, allocations: 5.125 kB / 1.128 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/1.578, allocations: 11.91 kB / 1.128 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.578, allocations: 0 / 1.128 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.578, allocations: 7.406 kB / 1.128 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.578, allocations: 4.938 kB / 1.128 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/1.579, allocations: 169.1 kB / 1.128 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/1.579, allocations: 4 kB / 1.128 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.899e-05/1.579, allocations: 11.42 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.579, allocations: 0 / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/1.579, allocations: 0 / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.579, allocations: 4.125 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/1.579, allocations: 0 / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/1.579, allocations: 179.8 kB / 1.128 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/1.579, allocations: 81.02 kB / 1.128 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/1.579, allocations: 0 / 1.128 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/1.579, allocations: 18.75 kB / 1.128 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/1.579, allocations: 4 kB / 1.128 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/1.579, allocations: 3.938 kB / 1.128 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.453e-05/1.579, allocations: 91.5 kB / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.579, allocations: 7.938 kB / 1.129 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002114/1.579, allocations: 4 kB / 1.129 GB, free: 31.14 MB / 0.7292 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 (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.0004635/1.58, allocations: 0.7145 MB / 1.129 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001787/1.58, allocations: 44.02 kB / 1.129 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.58, allocations: 4 kB / 1.129 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.049e-05/1.58, allocations: 30.78 kB / 1.129 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/1.58, allocations: 5.109 kB / 1.129 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/1.581, allocations: 213.6 kB / 1.13 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/1.581, allocations: 0.6912 MB / 1.13 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.929e-05/1.581, allocations: 0.7969 kB / 1.13 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/1.581, allocations: 15.44 kB / 1.13 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/1.581, allocations: 1.031 kB / 1.13 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/1.602, allocations: 1.233 MB / 1.131 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/1.602, allocations: 204.7 kB / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/3.683, allocations: 1.031 kB / 1.132 GB, free: 28.5 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)