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.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.001028/0.001028, allocations: 84.22 kB / 20.94 MB, free: 3.609 MB / 18.57 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.00105/0.00105, allocations: 169 kB / 24.25 MB, free: 308 kB / 18.57 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 0.9725/0.9725, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6234/0.6234, allocations: 114.9 MB / 376 MB, free: 7.609 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 481.6 MB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.484e-05, allocations: 2.312 kB / 481.6 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001366/0.001391, allocations: 0.6136 MB / 482.2 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.002541, allocations: 1.164 MB / 483.3 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.002572, allocations: 0.625 kB / 483.3 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.002587, allocations: 2.469 kB / 483.3 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.002821, allocations: 17.95 kB / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.745e-06/0.002824, allocations: 0 / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.219e-05/0.002866, allocations: 2.656 kB / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.002907, allocations: 0.6875 kB / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.002932, allocations: 12.94 kB / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.33e-05/0.002955, allocations: 0 / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.115e-06/0.002963, allocations: 0 / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.903e-05/0.003062, allocations: 22.73 kB / 483.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.003073, allocations: 2.656 kB / 483.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.274e-05/0.003086, allocations: 3.938 kB / 483.4 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.366e-05/0.003169, allocations: 15 kB / 483.4 MB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.003172, allocations: 0 / 483.4 MB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003173, allocations: 0 / 483.4 MB, free: 10.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.003178, allocations: 0.6562 kB / 483.4 MB, free: 10.6 MB / 410.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.0002419/0.00342, allocations: 347.5 kB / 483.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.003461, allocations: 9.188 kB / 483.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002583/0.00372, allocations: 14.94 kB / 483.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.325e-05/0.003773, allocations: 106.2 kB / 483.9 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.003787, allocations: 7.609 kB / 483.9 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.003812, allocations: 11.55 kB / 483.9 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.884e-05/0.003901, allocations: 33.95 kB / 483.9 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.003911, allocations: 192 / 483.9 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.00392, allocations: 1 kB / 483.9 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.003929, allocations: 4.875 kB / 484 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.052e-05/0.003959, allocations: 6.219 kB / 484 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.567e-05/0.004055, allocations: 111.4 kB / 484.1 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.004195, allocations: 43.67 kB / 484.1 MB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.004214, allocations: 17.44 kB / 484.1 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.00423, allocations: 0 / 484.1 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.004246, allocations: 36.81 kB / 484.2 MB, free: 9.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.004247, allocations: 0 / 484.2 MB, free: 9.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009435/0.005191, allocations: 242.9 kB / 484.4 MB, free: 9.758 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.005218, allocations: 64.62 kB / 484.5 MB, free: 9.688 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.982e-05/0.005238, allocations: 142.2 kB / 484.6 MB, free: 9.535 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.005249, allocations: 25.7 kB / 484.6 MB, free: 9.504 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.005475, allocations: 130.9 kB / 484.8 MB, free: 25.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.005515, allocations: 22.19 kB / 484.8 MB, free: 25.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.005556, allocations: 22.94 kB / 484.8 MB, free: 25.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.005659, allocations: 497.3 kB / 485.3 MB, free: 24.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.184e-05/0.005711, allocations: 11 kB / 485.3 MB, free: 24.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.193e-05/0.005763, allocations: 33.06 kB / 485.3 MB, free: 24.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.698e-05/0.00586, allocations: 46.62 kB / 485.4 MB, free: 24.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.005862, allocations: 1.906 kB / 485.4 MB, free: 24.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001378/0.006, allocations: 70.44 kB / 485.4 MB, free: 24.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.006013, allocations: 4.781 kB / 485.4 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.006019, allocations: 0.6562 kB / 485.4 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.006034, allocations: 1.5 kB / 485.4 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.006194, allocations: 32.89 kB / 485.5 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.006202, allocations: 5.219 kB / 485.5 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.006303, allocations: 23.59 kB / 485.5 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.006314, allocations: 4.734 kB / 485.5 MB, free: 24.7 MB / 426.7 MB 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 7.454e-05/0.006389, allocations: 159 kB / 485.7 MB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.006406, allocations: 6.859 kB / 485.7 MB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.006446, allocations: 9.125 kB / 485.7 MB, free: 24.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.006448, allocations: 0.7188 kB / 485.7 MB, free: 24.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.006452, allocations: 4.438 kB / 485.7 MB, free: 24.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.006456, allocations: 1.625 kB / 485.7 MB, free: 24.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.006773, allocations: 308.1 kB / 486 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.006775, allocations: 2.812 kB / 486 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.006903, allocations: 31.91 kB / 486 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.006906, allocations: 5.094 kB / 486 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.006918, allocations: 1.281 kB / 486 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.00692, allocations: 0 / 486 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006921, allocations: 0 / 486 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.007084, allocations: 209.2 kB / 486.2 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.007089, allocations: 1.125 kB / 486.2 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.007107, allocations: 5.938 kB / 486.2 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.007223, allocations: 24.86 kB / 486.3 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.007239, allocations: 11.12 kB / 486.3 MB, free: 24.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.007246, allocations: 4.422 kB / 486.3 MB, free: 24.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.132e-05/0.007277, allocations: 120.3 kB / 486.4 MB, free: 23.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007277, allocations: 0.6875 kB / 486.4 MB, free: 23.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001628/0.00744, allocations: 7.938 kB / 486.4 MB, free: 23.89 MB / 426.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 (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.0001056/0.007546, allocations: 94.41 kB / 486.5 MB, free: 23.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.007693, allocations: 39.53 kB / 486.5 MB, free: 23.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.007696, allocations: 0 / 486.5 MB, free: 23.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.313e-05/0.007739, allocations: 23.27 kB / 486.6 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.007895, allocations: 10.03 kB / 486.6 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.008229, allocations: 128 kB / 486.7 MB, free: 23.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.635e-05/0.008256, allocations: 57.55 kB / 486.8 MB, free: 23.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.008367, allocations: 29.53 kB / 486.8 MB, free: 23.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.008422, allocations: 15.62 kB / 486.8 MB, free: 23.58 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.008422, allocations: 0 / 486.8 MB, free: 23.58 MB / 426.7 MB Notification: Performance of Templates: time 0.002261/0.01068, allocations: 0.817 MB / 487.6 MB, free: 23.52 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6074480209499598]