Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 111.3 kB / 17.33 MB, free: 5.027 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.001268/0.001268, allocations: 202.6 kB / 18.33 MB, free: 4.035 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.507/1.507, allocations: 225.6 MB / 244.8 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.868/0.868, allocations: 128.4 MB / 426.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002818/0.002818, allocations: 63.59 kB / 0.5912 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1811, allocations: 83.26 MB / 0.6725 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001654/0.1827, allocations: 0.5869 MB / 0.6731 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1842, allocations: 1.126 MB / 0.6742 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.1843, allocations: 0 / 0.6742 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.1843, allocations: 0 / 0.6742 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.1845, allocations: 23.88 kB / 0.6742 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.775e-06/0.1845, allocations: 0 / 0.6742 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.007e-05/0.1846, allocations: 3.984 kB / 0.6742 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.1846, allocations: 8 kB / 0.6742 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.73e-05/0.1846, allocations: 3.938 kB / 0.6742 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.235e-05/0.1846, allocations: 3.984 kB / 0.6742 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.983e-06/0.1847, allocations: 0 / 0.6742 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1848, allocations: 19.92 kB / 0.6742 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.102e-06/0.1848, allocations: 0 / 0.6742 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.56e-05/0.1848, allocations: 7.938 kB / 0.6743 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.994e-05/0.1849, allocations: 15.97 kB / 0.6743 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1849, allocations: 0 / 0.6743 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1849, allocations: 0 / 0.6743 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1849, allocations: 0 / 0.6743 GB, free: 2.004 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003229/0.1852, allocations: 325.4 kB / 0.6746 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1852, allocations: 12.03 kB / 0.6746 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.1853, allocations: 0.9375 kB / 0.6746 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1854, allocations: 160.4 kB / 0.6747 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1854, allocations: 384 / 0.6747 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.1854, allocations: 4.375 kB / 0.6747 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1855, allocations: 49.92 kB / 0.6748 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1855, allocations: 0 / 0.6748 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-06/0.1855, allocations: 0 / 0.6748 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1855, allocations: 4 kB / 0.6748 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.667e-05/0.1856, allocations: 7.984 kB / 0.6748 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.1858, allocations: 153.6 kB / 0.675 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.1859, allocations: 26.61 kB / 0.675 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/0.186, allocations: 16.8 kB / 0.675 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.1861, allocations: 85.19 kB / 0.6751 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.1862, allocations: 38.5 kB / 0.6751 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1862, allocations: 0 / 0.6751 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004318/0.1905, allocations: 0.5715 MB / 0.6757 GB, free: 392 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.1905, allocations: 55.34 kB / 0.6757 GB, free: 324 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.105e-05/0.1906, allocations: 89.86 kB / 0.6758 GB, free: 224 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1906, allocations: 25.7 kB / 0.6758 GB, free: 192 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.1906, allocations: 80.14 kB / 0.6759 GB, free: 108 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.1907, allocations: 19.91 kB / 0.6759 GB, free: 88 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.1907, allocations: 25.64 kB / 0.676 GB, free: 56 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1909, allocations: 310.8 kB / 0.6762 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006057/0.1915, allocations: 83.95 kB / 0.6763 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/0.1921, allocations: 102.5 kB / 0.6764 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.1932, allocations: 186.4 kB / 0.6766 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1932, allocations: 0 / 0.6766 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001283/0.1945, allocations: 225.5 kB / 0.6768 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1945, allocations: 8 kB / 0.6768 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1945, allocations: 0 / 0.6768 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1946, allocations: 0 / 0.6768 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.195, allocations: 52 kB / 0.6769 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.195, allocations: 0 / 0.6769 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.1953, allocations: 43.97 kB / 0.6769 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.1953, allocations: 0 / 0.6769 GB, free: 15.03 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001038/0.1955, allocations: 121.7 kB / 0.677 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.1955, allocations: 3.938 kB / 0.677 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.1968, allocations: 237.3 kB / 0.6773 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1968, allocations: 3.984 kB / 0.6773 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1968, allocations: 4.062 kB / 0.6773 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1968, allocations: 0 / 0.6773 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.1983, allocations: 454.4 kB / 0.6777 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1983, allocations: 0 / 0.6777 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.1988, allocations: 51.97 kB / 0.6778 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1988, allocations: 0 / 0.6778 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1988, allocations: 4 kB / 0.6778 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1988, allocations: 0 / 0.6778 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1988, allocations: 4 kB / 0.6778 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.2001, allocations: 307.3 kB / 0.6781 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.2001, allocations: 81.48 kB / 0.6781 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.2002, allocations: 0 / 0.6781 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.2005, allocations: 43.97 kB / 0.6782 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.2005, allocations: 3.938 kB / 0.6782 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.2006, allocations: 8 kB / 0.6782 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.2006, allocations: 83.28 kB / 0.6783 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.2006, allocations: 0 / 0.6783 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002475/0.2009, allocations: 8 kB / 0.6783 GB, free: 13.54 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 (5): * Single equations (assignments): 5 * 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.0001906/0.201, allocations: 111.2 kB / 0.6784 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.2023, allocations: 183.8 kB / 0.6786 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2023, allocations: 0 / 0.6786 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005899/0.2028, allocations: 92.14 kB / 0.6786 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.2031, allocations: 0 / 0.6786 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.2042, allocations: 228.9 kB / 0.6789 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.2046, allocations: 0.6729 MB / 0.6795 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001838/0.2048, allocations: 28 kB / 0.6795 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.2048, allocations: 15.42 kB / 0.6796 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.2048, allocations: 0 / 0.6796 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of Templates: time 0.003214/0.208, allocations: 0.8156 MB / 0.6804 GB, free: 11.34 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480]