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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009118/0.0009119, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.4 MB / 222.1 MB, free: 5.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005957/0.0005957, allocations: 14.41 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3244, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001737/0.3262, allocations: 1.222 MB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007446/0.327, allocations: 429.3 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.327, allocations: 0 / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.327, allocations: 0 / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.36e-05/0.3271, allocations: 19.84 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.3273, allocations: 11.98 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.033e-05/0.3274, allocations: 43.8 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3275, allocations: 12 kB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.73e-05/0.3276, allocations: 15.92 kB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.733e-05/0.3277, allocations: 23.91 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3277, allocations: 0 / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.3277, allocations: 4 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.3277, allocations: 7.922 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.3278, allocations: 33.7 kB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.783e-05/0.3279, allocations: 36.11 kB / 0.7892 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3279, allocations: 0 / 0.7892 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3279, allocations: 0 / 0.7892 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.3279, allocations: 4 kB / 0.7892 GB, free: 9.984 MB / 0.6075 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.0004908/0.3284, allocations: 361.9 kB / 0.7896 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3284, allocations: 8.031 kB / 0.7896 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.3285, allocations: 30.56 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.3285, allocations: 4 kB / 0.7896 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.3287, allocations: 178.8 kB / 0.7898 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3287, allocations: 0 / 0.7898 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3288, allocations: 8 kB / 0.7898 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.329, allocations: 61.67 kB / 0.7898 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.329, allocations: 0 / 0.7898 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.329, allocations: 0 / 0.7898 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.329, allocations: 0 / 0.7898 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.3292, allocations: 51.95 kB / 0.7899 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.3297, allocations: 276.8 kB / 0.7901 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.3299, allocations: 46.55 kB / 0.7902 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.173e-05/0.33, allocations: 32.94 kB / 0.7902 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.33, allocations: 0 / 0.7902 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.33, allocations: 30.56 kB / 0.7903 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.33, allocations: 0 / 0.7903 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004104/0.3305, allocations: 105.5 kB / 0.7904 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.3305, allocations: 59.36 kB / 0.7904 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.3307, allocations: 117.8 kB / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.3307, allocations: 25.7 kB / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.3308, allocations: 88.14 kB / 0.7906 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.3308, allocations: 11.84 kB / 0.7906 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.3308, allocations: 4 kB / 0.7906 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3309, allocations: 318.8 kB / 0.791 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/0.331, allocations: 23.92 kB / 0.791 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.454e-05/0.3311, allocations: 19.98 kB / 0.791 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.472e-05/0.3312, allocations: 27.98 kB / 0.791 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3312, allocations: 0 / 0.791 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000165/0.3313, allocations: 81.52 kB / 0.7911 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3314, allocations: 4 kB / 0.7911 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3314, allocations: 4 kB / 0.7911 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3314, allocations: 0 / 0.7911 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3315, allocations: 15.98 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3315, allocations: 3.984 kB / 0.7911 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.739e-05/0.3316, allocations: 7.953 kB / 0.7911 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.3316, allocations: 7.984 kB / 0.7911 GB, free: 7.785 MB / 0.6075 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 9.001e-05/0.3317, allocations: 106.5 kB / 0.7912 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.3317, allocations: 7.906 kB / 0.7912 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.3318, allocations: 7.906 kB / 0.7913 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3318, allocations: 4 kB / 0.7913 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3318, allocations: 0 / 0.7913 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3318, allocations: 4 kB / 0.7913 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.332, allocations: 177.5 kB / 0.7914 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.332, allocations: 0 / 0.7914 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.714e-05/0.3321, allocations: 8 kB / 0.7914 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3321, allocations: 0 / 0.7914 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3321, allocations: 3.984 kB / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3321, allocations: 0 / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3321, allocations: 4 kB / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.3323, allocations: 179.4 kB / 0.7916 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.3324, allocations: 85.38 kB / 0.7917 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.3324, allocations: 4 kB / 0.7917 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.3325, allocations: 8 kB / 0.7917 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.3325, allocations: 3.984 kB / 0.7917 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3325, allocations: 8 kB / 0.7917 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.579e-05/0.3326, allocations: 91.27 kB / 0.7918 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.174e-06/0.3326, allocations: 0 / 0.7918 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002449/0.3329, allocations: 15.94 kB / 0.7918 GB, free: 6.98 MB / 0.6075 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.0006136/0.3335, allocations: 0.7162 MB / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001793/0.3337, allocations: 47.97 kB / 0.7926 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3337, allocations: 0 / 0.7926 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.829e-05/0.3338, allocations: 27.92 kB / 0.7926 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.334, allocations: 6.438 kB / 0.7926 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006206/0.3346, allocations: 220.1 kB / 0.7928 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.3349, allocations: 0.6809 MB / 0.7935 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.464e-05/0.335, allocations: 0 / 0.7935 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.335, allocations: 23.42 kB / 0.7935 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.335, allocations: 0 / 0.7935 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.348, allocations: 1.233 MB / 0.7947 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.3483, allocations: 219.5 kB / 0.7949 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.22, allocations: 4 kB / 0.7949 GB, free: 3.875 MB / 0.6075 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) Environment - environmentSimulation: