Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 112.6 kB / 17.33 MB, free: 5.008 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.001645/0.001645, allocations: 197.8 kB / 18.33 MB, free: 4.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 244.8 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9352/0.9352, allocations: 128.4 MB / 426.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 68.3 kB / 0.5912 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1871, allocations: 83.25 MB / 0.6725 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002874/0.1899, allocations: 1.516 MB / 0.6739 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007291/0.1907, allocations: 422.9 kB / 0.6744 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.1907, allocations: 8 kB / 0.6744 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.1907, allocations: 3.938 kB / 0.6744 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.351e-05/0.1908, allocations: 11.86 kB / 0.6744 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.191, allocations: 19.97 kB / 0.6744 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.1911, allocations: 43.8 kB / 0.6744 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1912, allocations: 11.98 kB / 0.6744 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1913, allocations: 27.84 kB / 0.6745 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.451e-05/0.1914, allocations: 27.86 kB / 0.6745 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1914, allocations: 4 kB / 0.6745 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.1914, allocations: 8 kB / 0.6745 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.1914, allocations: 3.984 kB / 0.6745 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.1915, allocations: 23.88 kB / 0.6745 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.1916, allocations: 47.75 kB / 0.6746 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1916, allocations: 0 / 0.6746 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1916, allocations: 0 / 0.6746 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.1916, allocations: 0 / 0.6746 GB, free: 1.758 MB / 0.4981 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.0005741/0.1922, allocations: 363.3 kB / 0.6749 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1922, allocations: 8.031 kB / 0.6749 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.1923, allocations: 12.89 kB / 0.6749 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.1924, allocations: 176.3 kB / 0.6751 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1924, allocations: 384 / 0.6751 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.1924, allocations: 11.92 kB / 0.6751 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.1926, allocations: 57.61 kB / 0.6752 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1926, allocations: 0 / 0.6752 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.1926, allocations: 0 / 0.6752 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1927, allocations: 0 / 0.6752 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.1928, allocations: 35.97 kB / 0.6752 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.1934, allocations: 272.9 kB / 0.6755 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1935, allocations: 42.5 kB / 0.6755 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.163e-05/0.1936, allocations: 24.88 kB / 0.6755 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1936, allocations: 4 kB / 0.6755 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.1937, allocations: 34.56 kB / 0.6756 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1937, allocations: 0 / 0.6756 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003845/0.194, allocations: 85.61 kB / 0.6757 GB, free: 496 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.1941, allocations: 51.41 kB / 0.6757 GB, free: 432 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.1943, allocations: 121.8 kB / 0.6758 GB, free: 300 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.1943, allocations: 29.64 kB / 0.6759 GB, free: 264 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.1944, allocations: 92.14 kB / 0.6759 GB, free: 168 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.1944, allocations: 19.78 kB / 0.676 GB, free: 148 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.1944, allocations: 13.7 kB / 0.676 GB, free: 128 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.1946, allocations: 322.8 kB / 0.6763 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.218e-05/0.1947, allocations: 15.98 kB / 0.6763 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-05/0.1948, allocations: 19.98 kB / 0.6763 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1949, allocations: 45.09 kB / 0.6764 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1949, allocations: 0 / 0.6764 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001884/0.1951, allocations: 69.66 kB / 0.6764 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1951, allocations: 8 kB / 0.6764 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1951, allocations: 0 / 0.6764 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1951, allocations: 0 / 0.6764 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1952, allocations: 11.94 kB / 0.6764 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.1952, allocations: 3.984 kB / 0.6764 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.1953, allocations: 3.953 kB / 0.6765 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.1953, allocations: 15.94 kB / 0.6765 GB, free: 15.6 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.1954, allocations: 105.8 kB / 0.6766 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.1954, allocations: 4 kB / 0.6766 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.1955, allocations: 11.89 kB / 0.6766 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1955, allocations: 4 kB / 0.6766 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1955, allocations: 0 / 0.6766 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1955, allocations: 0 / 0.6766 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.1957, allocations: 173.6 kB / 0.6768 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1957, allocations: 0 / 0.6768 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.421e-05/0.1958, allocations: 15.98 kB / 0.6768 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1958, allocations: 3.938 kB / 0.6768 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.1958, allocations: 0 / 0.6768 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1958, allocations: 4 kB / 0.6768 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1958, allocations: 0 / 0.6768 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.1961, allocations: 179.3 kB / 0.6769 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.1961, allocations: 81.06 kB / 0.677 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.1962, allocations: 8 kB / 0.677 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.053e-05/0.1962, allocations: 3.984 kB / 0.677 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.1963, allocations: 4 kB / 0.677 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.1963, allocations: 0 / 0.677 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.183e-05/0.1964, allocations: 95.2 kB / 0.6771 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1964, allocations: 0 / 0.6771 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002247/0.1966, allocations: 8 kB / 0.6771 GB, free: 14.82 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001511/0.1968, allocations: 103.2 kB / 0.6772 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.197, allocations: 39.95 kB / 0.6773 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.197, allocations: 0 / 0.6773 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.674e-05/0.1971, allocations: 23.92 kB / 0.6773 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.1973, allocations: 7.938 kB / 0.6773 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.1978, allocations: 164.8 kB / 0.6775 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.1983, allocations: 0.6807 MB / 0.6781 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.185e-05/0.1983, allocations: 4.281 kB / 0.6781 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.1983, allocations: 11.44 kB / 0.6781 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1983, allocations: 0 / 0.6781 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.002989/0.2013, allocations: 486.9 kB / 0.6786 GB, free: 13.26 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480]