Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.715/1.715, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.00129/0.00129, allocations: 186.7 kB / 371.8 MB, free: 10.26 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.814/1.814, allocations: 205.4 MB / 0.6305 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001116, allocations: 110.1 kB / 0.7439 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004284, allocations: 16.56 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2534, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001726/0.2552, allocations: 1.199 MB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006212/0.2558, allocations: 437 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.689e-05/0.2559, allocations: 4 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.2559, allocations: 7.938 kB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.65e-05/0.256, allocations: 11.97 kB / 0.9811 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.2561, allocations: 15.97 kB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.228e-05/0.2562, allocations: 35.89 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2563, allocations: 4 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.638e-05/0.2564, allocations: 19.92 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.564e-05/0.2565, allocations: 23.91 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.2566, allocations: 4 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.2566, allocations: 4 kB / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.2566, allocations: 3.984 kB / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.2566, allocations: 33.64 kB / 0.9812 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.691e-05/0.2567, allocations: 32.17 kB / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2567, allocations: 0 / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2567, allocations: 0 / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2567, allocations: 0 / 0.9813 GB, free: 25.72 MB / 0.6198 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.0004497/0.2572, allocations: 359.2 kB / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2572, allocations: 8.031 kB / 0.9816 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.2573, allocations: 34.55 kB / 0.9817 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.2573, allocations: 7.938 kB / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2574, allocations: 178.9 kB / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.2575, allocations: 0 / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.2575, allocations: 0 / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.2577, allocations: 61.61 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2577, allocations: 4 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2577, allocations: 4 kB / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2577, allocations: 0 / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.2579, allocations: 39.97 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.2583, allocations: 276.9 kB / 0.9822 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.2584, allocations: 50.5 kB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.2584, allocations: 3.938 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.2584, allocations: 34.56 kB / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.2585, allocations: 4 kB / 0.9823 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003378/0.2588, allocations: 101.6 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.2588, allocations: 55.41 kB / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.2589, allocations: 113.8 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.2589, allocations: 33.7 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.259, allocations: 92.12 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.259, allocations: 7.906 kB / 0.9827 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.259, allocations: 0 / 0.9827 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.156e-05/0.2591, allocations: 314.8 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.2591, allocations: 19.92 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.648e-05/0.2592, allocations: 27.98 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.6e-05/0.2593, allocations: 19.98 kB / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2593, allocations: 0 / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001596/0.2595, allocations: 81.89 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2595, allocations: 12 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2595, allocations: 0 / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.2595, allocations: 0 / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.2596, allocations: 15.92 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2596, allocations: 0 / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.138e-05/0.2597, allocations: 11.95 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.2597, allocations: 0 / 0.9832 GB, free: 23.56 MB / 0.6198 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 7.162e-05/0.2598, allocations: 117.8 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.2598, allocations: 15.88 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.2599, allocations: 7.906 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2599, allocations: 4 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2599, allocations: 0 / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2599, allocations: 0 / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.26, allocations: 173.5 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.26, allocations: 0 / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.2601, allocations: 11.98 kB / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2601, allocations: 0 / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2601, allocations: 8 kB / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2601, allocations: 0 / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2601, allocations: 0 / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.2603, allocations: 171.5 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.2604, allocations: 89.02 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.2604, allocations: 0 / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.2605, allocations: 7.984 kB / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.2605, allocations: 11.94 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.2605, allocations: 0 / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.541e-05/0.2606, allocations: 95.64 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2606, allocations: 0 / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002037/0.2608, allocations: 8 kB / 0.9838 GB, free: 22.76 MB / 0.6198 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.0003872/0.2612, allocations: 0.7124 MB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001748/0.2614, allocations: 55.89 kB / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2614, allocations: 0 / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.2615, allocations: 23.98 kB / 0.9846 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.2616, allocations: 4.328 kB / 0.9846 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.2621, allocations: 216.1 kB / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.2622, allocations: 0.6887 MB / 0.9855 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.531e-05/0.2623, allocations: 0 / 0.9855 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.2623, allocations: 19.36 kB / 0.9855 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2623, allocations: 4 kB / 0.9855 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01184/0.2742, allocations: 1.239 MB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.2744, allocations: 215.9 kB / 0.9869 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/1.834, allocations: 4 kB / 0.9869 GB, free: 19.65 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)