Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008583/0.0008583, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.001969, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000802/0.000802, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001873, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.045/1.045, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08883/1.134, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6433/0.6433, allocations: 120.1 MB / 364.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06598/0.7092, allocations: 38.15 MB / 402.4 MB, free: 12.29 MB / 394.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.291e-05, allocations: 6.25 kB / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001837/0.00185, allocations: 1.557 MB / 405.3 MB, free: 9.375 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005321/0.002382, allocations: 0.4909 MB / 405.8 MB, free: 8.879 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.002407, allocations: 0 / 405.8 MB, free: 8.879 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.002425, allocations: 0 / 405.8 MB, free: 8.879 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.156e-05/0.002457, allocations: 7.875 kB / 405.8 MB, free: 8.871 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.439e-05/0.002551, allocations: 23.91 kB / 405.8 MB, free: 8.848 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.516e-05/0.002606, allocations: 23.92 kB / 405.8 MB, free: 8.824 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.832e-05/0.002675, allocations: 8 kB / 405.8 MB, free: 8.816 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.7e-05/0.002752, allocations: 31.86 kB / 405.9 MB, free: 8.785 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.629e-05/0.002788, allocations: 7.984 kB / 405.9 MB, free: 8.777 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.002799, allocations: 0 / 405.9 MB, free: 8.777 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.701e-05/0.002866, allocations: 19.97 kB / 405.9 MB, free: 8.758 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.00288, allocations: 7.938 kB / 405.9 MB, free: 8.75 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.286e-05/0.002893, allocations: 4 kB / 405.9 MB, free: 8.746 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 9.238e-05/0.002985, allocations: 19.92 kB / 405.9 MB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.002997, allocations: 0 / 405.9 MB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002997, allocations: 4 kB / 405.9 MB, free: 8.723 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.003008, allocations: 0 / 405.9 MB, free: 8.723 MB / 394.7 MB 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.0003443/0.003353, allocations: 240.6 kB / 406.2 MB, free: 8.465 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.713e-05/0.00338, allocations: 8.031 kB / 406.2 MB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.003579, allocations: 98.02 kB / 406.3 MB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.588e-05/0.003665, allocations: 113.7 kB / 406.4 MB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.003675, allocations: 384 / 406.4 MB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.003686, allocations: 4.312 kB / 406.4 MB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.003792, allocations: 58.94 kB / 406.4 MB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.003799, allocations: 192 / 406.4 MB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.003806, allocations: 384 / 406.4 MB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.003812, allocations: 3.938 kB / 406.4 MB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.083e-05/0.003833, allocations: 11.98 kB / 406.5 MB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.00404, allocations: 144.3 kB / 406.6 MB, free: 7.965 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.326e-05/0.004083, allocations: 30.52 kB / 406.6 MB, free: 7.926 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.162e-05/0.004095, allocations: 4.859 kB / 406.6 MB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.00411, allocations: 4.062 kB / 406.6 MB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.004129, allocations: 30.56 kB / 406.7 MB, free: 7.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.00413, allocations: 0 / 406.7 MB, free: 7.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001059/0.004236, allocations: 41.67 kB / 406.7 MB, free: 7.828 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.004262, allocations: 55.41 kB / 406.8 MB, free: 7.762 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.725e-05/0.004309, allocations: 114.8 kB / 406.9 MB, free: 7.637 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.004319, allocations: 25.7 kB / 406.9 MB, free: 7.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.004346, allocations: 84.09 kB / 407 MB, free: 7.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.004365, allocations: 11.95 kB / 407 MB, free: 7.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.004389, allocations: 13.7 kB / 407 MB, free: 7.488 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.004475, allocations: 318.8 kB / 407.3 MB, free: 7.168 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.004484, allocations: 0 / 407.3 MB, free: 7.168 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-06/0.004493, allocations: 4 kB / 407.3 MB, free: 7.164 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.579e-05/0.004519, allocations: 8.859 kB / 407.3 MB, free: 7.152 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.004521, allocations: 4 kB / 407.3 MB, free: 7.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.408e-05/0.004565, allocations: 41.75 kB / 407.4 MB, free: 7.102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.004576, allocations: 7.938 kB / 407.4 MB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.00458, allocations: 3.938 kB / 407.4 MB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.004595, allocations: 3.938 kB / 407.4 MB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.004667, allocations: 11.98 kB / 407.4 MB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.004671, allocations: 0 / 407.4 MB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.004692, allocations: 4 kB / 407.4 MB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.004696, allocations: 0 / 407.4 MB, free: 7.07 MB / 394.7 MB 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 (2): * Single equations (assignments): 2 * 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 4.724e-05/0.004743, allocations: 105.8 kB / 407.5 MB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.004756, allocations: 12.03 kB / 407.5 MB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.004783, allocations: 7.297 kB / 407.5 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.004785, allocations: 4.188 kB / 407.5 MB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.004787, allocations: 0 / 407.5 MB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.00479, allocations: 4 kB / 407.5 MB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.293e-05/0.004883, allocations: 69.89 kB / 407.6 MB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.004884, allocations: 0 / 407.6 MB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.004921, allocations: 7.984 kB / 407.6 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.004928, allocations: 4 kB / 407.6 MB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.00493, allocations: 0 / 407.6 MB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.004936, allocations: 4 kB / 407.6 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.004938, allocations: 3.938 kB / 407.6 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.004939, allocations: 0 / 407.6 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.005105, allocations: 135.5 kB / 407.8 MB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.005115, allocations: 7.984 kB / 407.8 MB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.915e-05/0.005155, allocations: 7.984 kB / 407.8 MB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.005182, allocations: 3.938 kB / 407.8 MB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.005185, allocations: 0 / 407.8 MB, free: 6.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.026e-05/0.005195, allocations: 8.859 kB / 407.8 MB, free: 6.648 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005195, allocations: 0 / 407.8 MB, free: 6.648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000108/0.005303, allocations: 8.031 kB / 407.8 MB, free: 6.641 MB / 394.7 MB 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 (2): * Single equations (assignments): 2 * 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 6.404e-05/0.005367, allocations: 80.41 kB / 407.9 MB, free: 6.555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.792e-05/0.005425, allocations: 12.86 kB / 407.9 MB, free: 6.539 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.005429, allocations: 3.938 kB / 407.9 MB, free: 6.535 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.09e-05/0.00545, allocations: 12.86 kB / 407.9 MB, free: 6.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.005613, allocations: 63.39 kB / 408 MB, free: 6.445 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.005925, allocations: 124.8 kB / 408.1 MB, free: 6.297 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.919e-05/0.005955, allocations: 55.34 kB / 408.1 MB, free: 6.223 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.591e-05/0.00598, allocations: 4 kB / 408.1 MB, free: 6.219 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.00603, allocations: 51.38 kB / 408.2 MB, free: 6.168 MB / 394.7 MB Notification: Performance of SimCode: time 6.42e-07/0.006031, allocations: 4 kB / 408.2 MB, free: 6.164 MB / 394.7 MB Notification: Performance of Templates: time 0.001912/0.007942, allocations: 0.6528 MB / 408.9 MB, free: 5.508 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2370217069983482]