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.491/1.491, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 180.7 kB / 326.5 MB, free: 2.246 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.162/2.162, allocations: 205.4 MB / 0.5775 GB, free: 20.61 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.000884/0.0008837, allocations: 87.73 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003572, allocations: 9.406 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2598, allocations: 106.3 MB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2088/0.4686, allocations: 132.4 MB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.469, allocations: 87.94 kB / 1.03 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003781/0.4728, allocations: 1.16 MB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4728, allocations: 3.938 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.4728, allocations: 0 / 1.031 GB, free: 10.55 MB / 0.6823 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.0005256/0.4734, allocations: 363.2 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.4734, allocations: 8.031 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.452e-05/0.4735, allocations: 38.56 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.4735, allocations: 3.906 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.4737, allocations: 175 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.4737, allocations: 0 / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.4737, allocations: 4 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.4739, allocations: 61.67 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4739, allocations: 0 / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.474, allocations: 0 / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.474, allocations: 4 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.4741, allocations: 43.91 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.4745, allocations: 276.8 kB / 1.032 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.4747, allocations: 42.56 kB / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.4747, allocations: 3.984 kB / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.4747, allocations: 38.56 kB / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.976e-06/0.4747, allocations: 0 / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0003246/0.4751, allocations: 97.69 kB / 1.032 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.4751, allocations: 55.41 kB / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.4752, allocations: 112.9 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.4753, allocations: 29.7 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.4754, allocations: 91.98 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.4754, allocations: 11.84 kB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.4754, allocations: 4 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4756, allocations: 318.8 kB / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.026e-05/0.4756, allocations: 23.92 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.4757, allocations: 23.98 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.64e-05/0.4758, allocations: 19.98 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4758, allocations: 0 / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001972/0.476, allocations: 81.89 kB / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.476, allocations: 8 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.476, allocations: 0 / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.4761, allocations: 0 / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.4762, allocations: 12.03 kB / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4762, allocations: 0 / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/0.4763, allocations: 15.89 kB / 1.033 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.4763, allocations: 11.94 kB / 1.033 GB, free: 8.395 MB / 0.6823 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 0.0001029/0.4764, allocations: 109.8 kB / 1.033 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.4764, allocations: 4 kB / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.4765, allocations: 3.906 kB / 1.033 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.4765, allocations: 4 kB / 1.033 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4765, allocations: 0 / 1.033 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4765, allocations: 0 / 1.033 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.4767, allocations: 173.6 kB / 1.033 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4767, allocations: 4 kB / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.796e-05/0.4768, allocations: 19.94 kB / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4768, allocations: 0 / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.4768, allocations: 7.984 kB / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4768, allocations: 0 / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4768, allocations: 0 / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.4771, allocations: 176.2 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.4772, allocations: 85.09 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.4772, allocations: 0 / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.774e-05/0.4773, allocations: 4 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.4773, allocations: 7.984 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.4773, allocations: 0 / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.4774, allocations: 99.64 kB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.003e-06/0.4774, allocations: 4 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000205/0.4776, allocations: 15.84 kB / 1.033 GB, free: 7.594 MB / 0.6823 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.0005634/0.4782, allocations: 0.7124 MB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.4784, allocations: 43.97 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4784, allocations: 3.938 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.4785, allocations: 31.92 kB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.4786, allocations: 0 / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/0.4792, allocations: 212.1 kB / 1.034 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.4795, allocations: 0.6926 MB / 1.035 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.402e-05/0.4796, allocations: 4 kB / 1.035 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.4796, allocations: 15.44 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.4796, allocations: 0 / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.4916, allocations: 1.221 MB / 1.036 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.4918, allocations: 217.5 kB / 1.036 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.182, allocations: 0 / 1.036 GB, free: 4.504 MB / 0.6823 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)