Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 113.1 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.001324/0.001324, 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.587/1.587, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9016/0.9016, allocations: 128.4 MB / 426.1 MB, free: 7.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.67 kB / 0.5912 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1707, allocations: 83.26 MB / 0.6725 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003496/0.1741, allocations: 2.17 MB / 0.6746 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00534/0.1795, allocations: 4.109 MB / 0.6786 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.1796, allocations: 0 / 0.6786 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007876/0.1804, allocations: 191.1 kB / 0.6788 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.1806, allocations: 79.28 kB / 0.6789 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.1813, allocations: 286 kB / 0.6791 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006419/0.1819, allocations: 438.5 kB / 0.6796 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.182, allocations: 52.59 kB / 0.6796 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1822, allocations: 131.5 kB / 0.6797 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.1824, allocations: 159.4 kB / 0.6799 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.1825, allocations: 20 kB / 0.6799 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005356/0.183, allocations: 327.5 kB / 0.6802 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.1831, allocations: 119.5 kB / 0.6803 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.1833, allocations: 171 kB / 0.6805 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006997/0.184, allocations: 0.5719 MB / 0.681 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.184, allocations: 4 kB / 0.6811 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.162e-06/0.184, allocations: 0 / 0.6811 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.184, allocations: 0 / 0.6811 GB, free: 11.06 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001529/0.1855, allocations: 0.8107 MB / 0.6818 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1856, allocations: 12.03 kB / 0.6819 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009229/0.1865, allocations: 176.4 kB / 0.682 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008125/0.1873, allocations: 394.4 kB / 0.6824 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1873, allocations: 8 kB / 0.6824 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.1874, allocations: 8 kB / 0.6824 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007071/0.1881, allocations: 251.1 kB / 0.6827 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1881, allocations: 0 / 0.6827 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.1881, allocations: 4 kB / 0.6827 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1881, allocations: 7.938 kB / 0.6827 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009804/0.1891, allocations: 323.7 kB / 0.683 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.1906, allocations: 0.6917 MB / 0.6836 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/0.1912, allocations: 210.4 kB / 0.6838 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/0.1917, allocations: 176.7 kB / 0.684 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.458e-05/0.1918, allocations: 27.95 kB / 0.684 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1918, allocations: 34.56 kB / 0.6841 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.1918, allocations: 4 kB / 0.6841 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.001769/0.1936, allocations: 0.5559 MB / 0.6846 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.1936, allocations: 55.34 kB / 0.6847 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004993/0.1941, allocations: 441.8 kB / 0.6851 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.1942, allocations: 25.7 kB / 0.6851 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.1943, allocations: 188.6 kB / 0.6853 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.1944, allocations: 47.58 kB / 0.6853 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.1945, allocations: 49.69 kB / 0.6854 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1947, allocations: 350.8 kB / 0.6857 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006411/0.1953, allocations: 300 kB / 0.686 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007117/0.196, allocations: 296.3 kB / 0.6863 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.1972, allocations: 0.5125 MB / 0.6868 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1972, allocations: 0 / 0.6868 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001458/0.1986, allocations: 0.7188 MB / 0.6875 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.6e-05/0.1987, allocations: 49.62 kB / 0.6875 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1987, allocations: 0 / 0.6875 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1987, allocations: 4 kB / 0.6876 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.1992, allocations: 71.8 kB / 0.6876 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1992, allocations: 0 / 0.6876 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.1996, allocations: 47.84 kB / 0.6877 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.1996, allocations: 15.98 kB / 0.6877 GB, free: 4.02 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.000192/0.1998, allocations: 153.8 kB / 0.6878 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/0.1999, allocations: 39.72 kB / 0.6879 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.2011, allocations: 440.8 kB / 0.6883 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.2011, allocations: 11.94 kB / 0.6883 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2011, allocations: 0 / 0.6883 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2011, allocations: 0 / 0.6883 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.2016, allocations: 373.2 kB / 0.6887 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.2016, allocations: 4 kB / 0.6887 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.202, allocations: 59.92 kB / 0.6887 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.202, allocations: 4 kB / 0.6887 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.202, allocations: 7.984 kB / 0.6887 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.202, allocations: 3.938 kB / 0.6887 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.202, allocations: 0 / 0.6887 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.2032, allocations: 0.5025 MB / 0.6892 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.2034, allocations: 140.8 kB / 0.6894 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.2034, allocations: 0 / 0.6894 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.2038, allocations: 43.89 kB / 0.6894 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.2039, allocations: 15.97 kB / 0.6894 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.2039, allocations: 7.984 kB / 0.6894 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003315/0.2042, allocations: 299.1 kB / 0.6897 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2042, allocations: 0 / 0.6897 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005192/0.2048, allocations: 131.8 kB / 0.6898 GB, free: 1.723 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 (13): * Single equations (assignments): 13 * 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.0003872/0.2051, allocations: 186.9 kB / 0.69 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.2066, allocations: 0.6161 MB / 0.6906 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2066, allocations: 4 kB / 0.6906 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005639/0.2071, allocations: 187.8 kB / 0.6908 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.2077, allocations: 53.73 kB / 0.6908 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.209, allocations: 0.6983 MB / 0.6915 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.2095, allocations: 0.7944 MB / 0.6923 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000249/0.2097, allocations: 61.91 kB / 0.6924 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.2098, allocations: 27.42 kB / 0.6924 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/0.2099, allocations: 4 kB / 0.6924 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.01109/0.2209, allocations: 5.544 MB / 0.6978 GB, free: 9.523 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 480]