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 1.753/1.753, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.001303/0.001303, allocations: 185.1 kB / 371.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001192/0.001192, allocations: 92.78 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.69e-05, allocations: 0 / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3126, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.338, allocations: 139.5 MB / 1.116 GB, free: 44.1 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/1.338, allocations: 86.08 kB / 1.116 GB, free: 44.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003165/1.341, allocations: 1.146 MB / 1.117 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.482e-06/1.341, allocations: 0 / 1.117 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.213e-06/1.341, allocations: 4 kB / 1.117 GB, free: 43.29 MB / 0.7448 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.000325/1.342, allocations: 347.5 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/1.342, allocations: 12.03 kB / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.458e-05/1.342, allocations: 30.56 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/1.342, allocations: 11.58 kB / 1.118 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.676e-05/1.342, allocations: 176.3 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/1.342, allocations: 8.453 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/1.342, allocations: 4.094 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/1.342, allocations: 40.97 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/1.342, allocations: 0 / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/1.342, allocations: 7.812 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/1.342, allocations: 0 / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.293e-05/1.342, allocations: 15.08 kB / 1.118 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/1.343, allocations: 279.6 kB / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.368e-05/1.343, allocations: 33.11 kB / 1.118 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/1.343, allocations: 20.2 kB / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/1.343, allocations: 0 / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/1.343, allocations: 34.47 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/1.343, allocations: 0 / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001686/1.343, allocations: 61.05 kB / 1.118 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/1.343, allocations: 55.41 kB / 1.118 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/1.343, allocations: 105.2 kB / 1.119 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/1.343, allocations: 29.27 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/1.343, allocations: 88.02 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/1.343, allocations: 11.41 kB / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/1.343, allocations: 0 / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/1.343, allocations: 322.7 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/1.343, allocations: 7.875 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.795e-05/1.343, allocations: 8.797 kB / 1.119 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/1.343, allocations: 15.45 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.343, allocations: 0 / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.921e-05/1.343, allocations: 56.8 kB / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.343, allocations: 4 kB / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.343, allocations: 3.938 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/1.343, allocations: 0.5156 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/1.344, allocations: 12.41 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.344, allocations: 0 / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/1.344, allocations: 16.08 kB / 1.119 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/1.344, allocations: 0 / 1.119 GB, free: 41.46 MB / 0.7448 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 4.873e-05/1.344, allocations: 104.9 kB / 1.119 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.381e-05/1.344, allocations: 7.906 kB / 1.119 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/1.344, allocations: 7.844 kB / 1.119 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.344, allocations: 0.5156 kB / 1.119 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.344, allocations: 0.5 kB / 1.119 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.344, allocations: 7.062 kB / 1.119 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/1.344, allocations: 175.5 kB / 1.119 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/1.344, allocations: 4.938 kB / 1.119 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.75e-05/1.344, allocations: 12.08 kB / 1.119 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/1.344, allocations: 0.6562 kB / 1.119 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/1.344, allocations: 3.812 kB / 1.119 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.344, allocations: 0.75 kB / 1.119 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.344, allocations: 4 kB / 1.119 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/1.344, allocations: 154.4 kB / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/1.344, allocations: 85.81 kB / 1.12 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/1.344, allocations: 0 / 1.12 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-05/1.344, allocations: 11.28 kB / 1.12 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/1.344, allocations: 0.6562 kB / 1.12 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/1.344, allocations: 0.5 kB / 1.12 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.85e-05/1.344, allocations: 100.1 kB / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.344, allocations: 0 / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002066/1.345, allocations: 8 kB / 1.12 GB, free: 40.76 MB / 0.7448 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.0003418/1.345, allocations: 0.6901 MB / 1.12 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001151/1.345, allocations: 23.75 kB / 1.12 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.345, allocations: 1.125 kB / 1.12 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.027e-05/1.345, allocations: 15.3 kB / 1.12 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/1.345, allocations: 0 / 1.12 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/1.346, allocations: 115.3 kB / 1.121 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/1.346, allocations: 0.6878 MB / 1.121 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.89e-05/1.346, allocations: 0.7969 kB / 1.121 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/1.346, allocations: 18.7 kB / 1.121 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of SimCode: time 1.492e-06/1.346, allocations: 0 / 1.121 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01197/1.358, allocations: 1.229 MB / 1.122 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/1.358, allocations: 183.7 kB / 1.123 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/3.148, allocations: 0 / 1.123 GB, free: 38.31 MB / 0.7448 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)