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.548/1.548, allocations: 249.3 MB / 261.8 MB, free: 5.93 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.001203/0.001203, allocations: 190.5 kB / 321.3 MB, free: 14.65 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.843/1.843, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.001061/0.001062, allocations: 97.38 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.879e-05/3.924e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2541, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8494/1.104, allocations: 132.3 MB / 1.021 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/1.104, allocations: 83.78 kB / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003452/1.107, allocations: 1.156 MB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/1.107, allocations: 0 / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.346e-06/1.107, allocations: 0 / 1.022 GB, free: 1.355 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.0004307/1.108, allocations: 347.1 kB / 1.023 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/1.108, allocations: 11.97 kB / 1.023 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/1.108, allocations: 33.31 kB / 1.023 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/1.108, allocations: 7.906 kB / 1.023 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/1.108, allocations: 178.9 kB / 1.023 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/1.108, allocations: 3.984 kB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/1.108, allocations: 4 kB / 1.023 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/1.108, allocations: 45.62 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.108, allocations: 0 / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/1.108, allocations: 0 / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.108, allocations: 0 / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.725e-05/1.108, allocations: 18.56 kB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/1.109, allocations: 282.3 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.728e-05/1.109, allocations: 35.34 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/1.109, allocations: 16.66 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/1.109, allocations: 4.078 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/1.109, allocations: 37.56 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.109, allocations: 0 / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002264/1.109, allocations: 60.81 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/1.109, allocations: 55.36 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/1.11, allocations: 104.8 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/1.11, allocations: 25.7 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/1.11, allocations: 91.72 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/1.11, allocations: 11.53 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/1.11, allocations: 0 / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.11, allocations: 318.5 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.716e-05/1.11, allocations: 7.984 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.321e-05/1.11, allocations: 15.44 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.068e-05/1.11, allocations: 7.875 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.11, allocations: 0 / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.499e-05/1.11, allocations: 60.97 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.11, allocations: 4 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.11, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/1.11, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/1.11, allocations: 11.98 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/1.11, allocations: 7.938 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.515e-05/1.11, allocations: 11.95 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/1.11, allocations: 3.984 kB / 1.024 GB, free: 15.44 MB / 0.6511 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.829e-05/1.11, allocations: 101 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/1.11, allocations: 4 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/1.11, allocations: 7.531 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/1.111, allocations: 4 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.111, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.111, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/1.111, allocations: 184.6 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.111, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.128e-05/1.111, allocations: 8 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/1.111, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/1.111, allocations: 7.984 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.111, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.111, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/1.111, allocations: 155.5 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/1.111, allocations: 85.02 kB / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/1.111, allocations: 4 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/1.111, allocations: 7.984 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/1.111, allocations: 0 / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/1.111, allocations: 4 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.293e-05/1.111, allocations: 96.19 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/1.111, allocations: 0 / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002267/1.112, allocations: 8 kB / 1.025 GB, free: 14.72 MB / 0.6511 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.0004958/1.112, allocations: 0.6871 MB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001254/1.112, allocations: 26.34 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.112, allocations: 0 / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.823e-05/1.112, allocations: 14.75 kB / 1.025 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/1.112, allocations: 3 kB / 1.025 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/1.113, allocations: 118.4 kB / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/1.113, allocations: 0.6926 MB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.921e-05/1.113, allocations: 0 / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/1.113, allocations: 10.81 kB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of SimCode: time 3.5e-07/1.114, allocations: 4 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/1.129, allocations: 1.239 MB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/1.129, allocations: 185.8 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.842, allocations: 0 / 1.028 GB, free: 11.79 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)