Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 249.5 MB / 257 MB, free: 6.941 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.001016/0.001016, allocations: 172.9 kB / 316.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008718/0.0008717, allocations: 93.55 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.923e-05/1.935e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2176, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7254/0.943, allocations: 132.6 MB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.9433, allocations: 86.56 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003106/0.9464, allocations: 1.148 MB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9464, allocations: 0 / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.9464, allocations: 1.031 kB / 1.016 GB, free: 3.805 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.0003879/0.9468, allocations: 346.3 kB / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.9469, allocations: 12.03 kB / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.9469, allocations: 3.906 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.9471, allocations: 174.9 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.9471, allocations: 7.984 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.9471, allocations: 0 / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.596e-05/0.9472, allocations: 15.88 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.2e-05/0.9473, allocations: 45.19 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.9473, allocations: 7.984 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.9473, allocations: 0 / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.9473, allocations: 7.938 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.9477, allocations: 251.5 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/0.9478, allocations: 34.27 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.9478, allocations: 12.61 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.9478, allocations: 8 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.9479, allocations: 30.56 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.9479, allocations: 0 / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001551/0.948, allocations: 48.91 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.9481, allocations: 51.41 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.9481, allocations: 104.9 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.9482, allocations: 25.7 kB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.9482, allocations: 99.97 kB / 1.017 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.9482, allocations: 7.531 kB / 1.017 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-06/0.9483, allocations: 0 / 1.017 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.9484, allocations: 318.8 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.9484, allocations: 7.75 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.9484, allocations: 7.938 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.632e-05/0.9484, allocations: 15.8 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.9485, allocations: 0 / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.025e-05/0.9485, allocations: 53.34 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.9486, allocations: 4 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.9486, allocations: 7.938 kB / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.9486, allocations: 0 / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.9487, allocations: 11.98 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.9487, allocations: 0 / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.9488, allocations: 8 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.9488, allocations: 0 / 1.018 GB, free: 1.984 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 6.674e-05/0.9488, allocations: 104.9 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.303e-05/0.9489, allocations: 63.81 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.949, allocations: 7.906 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.949, allocations: 12.02 kB / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.949, allocations: 0 / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.949, allocations: 0 / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.949, allocations: 0 / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.9492, allocations: 153.9 kB / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9492, allocations: 0 / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.391e-05/0.9493, allocations: 15.98 kB / 1.018 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.9493, allocations: 0 / 1.018 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.9493, allocations: 4 kB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.9493, allocations: 0 / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.9493, allocations: 0 / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.9495, allocations: 154.2 kB / 1.018 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.9495, allocations: 89.06 kB / 1.018 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.9495, allocations: 4 kB / 1.018 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.9496, allocations: 4 kB / 1.018 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.9497, allocations: 11.92 kB / 1.018 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.9497, allocations: 0 / 1.018 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.564e-05/0.9497, allocations: 87.98 kB / 1.018 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9497, allocations: 0 / 1.018 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002023/0.9499, allocations: 8 kB / 1.018 GB, free: 1.227 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.0003825/0.9503, allocations: 0.6924 MB / 1.019 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.9504, allocations: 15.94 kB / 1.019 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.9504, allocations: 0 / 1.019 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.043e-05/0.9505, allocations: 19.8 kB / 1.019 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.9506, allocations: 3.938 kB / 1.019 GB, free: 500 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.951, allocations: 102.4 kB / 1.019 GB, free: 368 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.9513, allocations: 0.6846 MB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.094e-05/0.9513, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.9513, allocations: 23.17 kB / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.9513, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.968, allocations: 0.9084 MB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.9683, allocations: 180.4 kB / 1.021 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.417/2.385, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)