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.619/1.619, allocations: 288.4 MB / 303.6 MB, free: 8.879 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.001307/0.001307, allocations: 180.5 kB / 372.3 MB, free: 6.418 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.269/1.269, allocations: 205.4 MB / 0.631 GB, free: 13.52 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.0007181/0.0007181, allocations: 84.97 kB / 0.7443 GB, free: 64.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 12 kB / 0.8676 GB, free: 500 kB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1809, allocations: 115.3 MB / 0.9802 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001718/0.1827, allocations: 1.226 MB / 0.9814 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005945/0.1833, allocations: 424.2 kB / 0.9818 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.1833, allocations: 4 kB / 0.9818 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.1834, allocations: 0 / 0.9818 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.617e-05/0.1834, allocations: 15.84 kB / 0.9818 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.1836, allocations: 15.98 kB / 0.9818 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.038e-05/0.1836, allocations: 43.8 kB / 0.9819 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.972e-05/0.1837, allocations: 8 kB / 0.9819 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.771e-05/0.1838, allocations: 19.92 kB / 0.9819 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.1839, allocations: 19.91 kB / 0.9819 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.1839, allocations: 4 kB / 0.9819 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.1839, allocations: 0 / 0.9819 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.184, allocations: 11.92 kB / 0.9819 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.184, allocations: 41.64 kB / 0.982 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.27e-05/0.1841, allocations: 36.16 kB / 0.982 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1841, allocations: 3.938 kB / 0.982 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.056e-06/0.1841, allocations: 0 / 0.982 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1841, allocations: 3.938 kB / 0.982 GB, free: 11.1 MB / 0.7136 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.0005311/0.1846, allocations: 355.3 kB / 0.9824 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.1847, allocations: 8.031 kB / 0.9824 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.1847, allocations: 34.75 kB / 0.9824 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.1848, allocations: 8.844 kB / 0.9824 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1849, allocations: 180.2 kB / 0.9826 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.185, allocations: 384 / 0.9826 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.185, allocations: 4.375 kB / 0.9826 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.1852, allocations: 57.8 kB / 0.9826 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1852, allocations: 0 / 0.9826 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1852, allocations: 4 kB / 0.9826 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1852, allocations: 7.938 kB / 0.9826 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.1854, allocations: 43.91 kB / 0.9827 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.1858, allocations: 272.9 kB / 0.983 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1859, allocations: 50.56 kB / 0.983 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.508e-05/0.186, allocations: 28.94 kB / 0.983 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1861, allocations: 0 / 0.983 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1861, allocations: 38.5 kB / 0.9831 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.1861, allocations: 0 / 0.9831 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003177/0.1864, allocations: 101.5 kB / 0.9832 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1865, allocations: 55.41 kB / 0.9832 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/0.1866, allocations: 113.8 kB / 0.9833 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1866, allocations: 25.7 kB / 0.9833 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.1866, allocations: 92.14 kB / 0.9834 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.1867, allocations: 7.891 kB / 0.9834 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-06/0.1867, allocations: 0 / 0.9834 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1868, allocations: 322.8 kB / 0.9837 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.634e-05/0.1869, allocations: 15.98 kB / 0.9838 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.927e-05/0.1869, allocations: 27.98 kB / 0.9838 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.1871, allocations: 49.05 kB / 0.9838 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1871, allocations: 7.938 kB / 0.9838 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001721/0.1873, allocations: 85.56 kB / 0.9839 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1873, allocations: 9.859 kB / 0.9839 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1873, allocations: 0 / 0.9839 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1873, allocations: 0 / 0.9839 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.736e-05/0.1874, allocations: 8 kB / 0.9839 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1874, allocations: 4 kB / 0.9839 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.1875, allocations: 11.98 kB / 0.984 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1875, allocations: 0 / 0.984 GB, free: 8.883 MB / 0.7136 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.437e-05/0.1876, allocations: 117.8 kB / 0.9841 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.1876, allocations: 0 / 0.9841 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.1876, allocations: 11.91 kB / 0.9841 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1877, allocations: 7.922 kB / 0.9841 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1877, allocations: 0 / 0.9841 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1877, allocations: 0 / 0.9841 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.1878, allocations: 177.4 kB / 0.9843 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1878, allocations: 8 kB / 0.9843 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.1879, allocations: 15.98 kB / 0.9843 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1879, allocations: 0 / 0.9843 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1879, allocations: 0 / 0.9843 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1879, allocations: 0 / 0.9843 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1879, allocations: 0 / 0.9843 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.1882, allocations: 179.5 kB / 0.9845 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.1882, allocations: 84.95 kB / 0.9845 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1882, allocations: 0 / 0.9845 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.202e-05/0.1883, allocations: 15.98 kB / 0.9845 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.1884, allocations: 0 / 0.9845 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.1884, allocations: 0 / 0.9845 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.1884, allocations: 95.2 kB / 0.9846 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1884, allocations: 4 kB / 0.9846 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001969/0.1886, allocations: 8 kB / 0.9847 GB, free: 8.074 MB / 0.7136 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.0005355/0.1892, allocations: 0.7085 MB / 0.9853 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.1894, allocations: 43.97 kB / 0.9854 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1894, allocations: 3.938 kB / 0.9854 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.1895, allocations: 31.92 kB / 0.9854 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1897, allocations: 4 kB / 0.9854 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.1901, allocations: 216 kB / 0.9856 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.1904, allocations: 0.6888 MB / 0.9863 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.1904, allocations: 4.312 kB / 0.9863 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.1904, allocations: 11.44 kB / 0.9863 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.1905, allocations: 0 / 0.9863 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/0.3213, allocations: 1.246 MB / 0.9875 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.3215, allocations: 212.7 kB / 0.9877 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/2.51, allocations: 0 / 0.9877 GB, free: 4.934 MB / 0.7136 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)