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.001026/0.001026, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009795/0.002006, 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.0007124/0.0007124, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009171/0.001629, 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 0.9774/0.9774, allocations: 177.2 MB / 189.7 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0887/1.066, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.6253/0.6253, allocations: 120.1 MB / 364.2 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06923/0.6945, 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.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 2.074e-06/2.074e-06, allocations: 0 / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.269e-05, allocations: 6.25 kB / 403.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001179/0.001201, allocations: 0.6501 MB / 404.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.002219, allocations: 1.159 MB / 405.6 MB, free: 9.051 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.745e-05/0.002237, allocations: 4 kB / 405.6 MB, free: 9.047 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.908e-06/0.002241, allocations: 0 / 405.6 MB, free: 9.047 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.002345, allocations: 23.86 kB / 405.6 MB, free: 9.023 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.936e-06/0.002348, allocations: 0 / 405.6 MB, free: 9.023 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 3.608e-05/0.002384, allocations: 11.88 kB / 405.6 MB, free: 9.012 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.002421, allocations: 4 kB / 405.6 MB, free: 9.008 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.851e-05/0.00245, allocations: 0 / 405.6 MB, free: 9.008 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.088e-05/0.002481, allocations: 11.92 kB / 405.7 MB, free: 8.996 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.002491, allocations: 0 / 405.7 MB, free: 8.996 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.6e-05/0.002587, allocations: 19.98 kB / 405.7 MB, free: 8.977 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.002597, allocations: 4 kB / 405.7 MB, free: 8.973 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.265e-06/0.002605, allocations: 0 / 405.7 MB, free: 8.973 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 7.259e-05/0.002678, allocations: 15.92 kB / 405.7 MB, free: 8.957 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.002689, allocations: 0 / 405.7 MB, free: 8.957 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00269, allocations: 0 / 405.7 MB, free: 8.957 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.002698, allocations: 0 / 405.7 MB, free: 8.957 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.0001915/0.00289, allocations: 220.7 kB / 405.9 MB, free: 8.719 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.002922, allocations: 8.031 kB / 405.9 MB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002491/0.003171, allocations: 90.03 kB / 406 MB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.891e-05/0.00323, allocations: 113.7 kB / 406.1 MB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.003239, allocations: 384 / 406.1 MB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.003256, allocations: 4.375 kB / 406.1 MB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.379e-05/0.00332, allocations: 34.25 kB / 406.2 MB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.003329, allocations: 8.172 kB / 406.2 MB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.003335, allocations: 384 / 406.2 MB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.00334, allocations: 3.938 kB / 406.2 MB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.191e-05/0.003362, allocations: 4 kB / 406.2 MB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.309e-05/0.003435, allocations: 65.03 kB / 406.2 MB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.003546, allocations: 26.52 kB / 406.3 MB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.359e-05/0.00356, allocations: 12.98 kB / 406.3 MB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.003573, allocations: 0 / 406.3 MB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.00359, allocations: 38.56 kB / 406.3 MB, free: 8.234 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 5.71e-07/0.003591, allocations: 0 / 406.3 MB, free: 8.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007369/0.004328, allocations: 246.5 kB / 406.6 MB, free: 7.984 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.004359, allocations: 51.41 kB / 406.6 MB, free: 7.922 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.168e-05/0.004391, allocations: 93.8 kB / 406.7 MB, free: 7.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.004406, allocations: 25.7 kB / 406.7 MB, free: 7.789 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.926e-05/0.004425, allocations: 80.14 kB / 406.8 MB, free: 7.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.004459, allocations: 23.88 kB / 406.8 MB, free: 7.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.004495, allocations: 17.72 kB / 406.8 MB, free: 7.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.004572, allocations: 314.8 kB / 407.1 MB, free: 7.344 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.804e-05/0.0046, allocations: 4 kB / 407.1 MB, free: 7.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.454e-05/0.004645, allocations: 26.58 kB / 407.2 MB, free: 7.305 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.082e-05/0.004725, allocations: 46.48 kB / 407.2 MB, free: 7.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.004727, allocations: 0 / 407.2 MB, free: 7.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.752e-05/0.004824, allocations: 53.69 kB / 407.3 MB, free: 7.191 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.004838, allocations: 11.92 kB / 407.3 MB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.004842, allocations: 0 / 407.3 MB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.004853, allocations: 4 kB / 407.3 MB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.004998, allocations: 27.98 kB / 407.3 MB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.005002, allocations: 7.969 kB / 407.3 MB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.69e-05/0.005079, allocations: 27.92 kB / 407.4 MB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.005087, allocations: 3.984 kB / 407.4 MB, free: 7.109 MB / 394.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 5.946e-05/0.005147, allocations: 113.8 kB / 407.5 MB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.00516, allocations: 3.984 kB / 407.5 MB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.005193, allocations: 11.66 kB / 407.5 MB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.005196, allocations: 4 kB / 407.5 MB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.005198, allocations: 4 kB / 407.5 MB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.005201, allocations: 3.938 kB / 407.5 MB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.005436, allocations: 203 kB / 407.7 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.005437, allocations: 0 / 407.7 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.005559, allocations: 35.97 kB / 407.7 MB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-06/0.005563, allocations: 3.953 kB / 407.7 MB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.005566, allocations: 4 kB / 407.7 MB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.005575, allocations: 3.938 kB / 407.7 MB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.005576, allocations: 0 / 407.7 MB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005577, allocations: 4 kB / 407.7 MB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.005684, allocations: 139.5 kB / 407.9 MB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.005696, allocations: 4 kB / 407.9 MB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.005782, allocations: 23.94 kB / 407.9 MB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.005795, allocations: 11.92 kB / 407.9 MB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.005801, allocations: 0 / 407.9 MB, free: 6.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.216e-06/0.005809, allocations: 4.859 kB / 407.9 MB, free: 6.492 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005809, allocations: 0 / 407.9 MB, free: 6.492 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001221/0.005931, allocations: 8 kB / 407.9 MB, free: 6.484 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 (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 8.83e-05/0.006019, allocations: 84.42 kB / 408 MB, free: 6.395 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.731e-05/0.006117, allocations: 28.88 kB / 408 MB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.006121, allocations: 4 kB / 408 MB, free: 6.359 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.823e-05/0.006159, allocations: 20.84 kB / 408.1 MB, free: 6.336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.006265, allocations: 11.98 kB / 408.1 MB, free: 6.324 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.006532, allocations: 124.9 kB / 408.2 MB, free: 6.176 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.927e-05/0.006561, allocations: 59.34 kB / 408.3 MB, free: 6.098 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.984e-05/0.006661, allocations: 28 kB / 408.3 MB, free: 6.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.006739, allocations: 59.38 kB / 408.3 MB, free: 6.012 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.00674, allocations: 0 / 408.3 MB, free: 6.012 MB / 394.7 MB Notification: Performance of Templates: time 0.002105/0.008845, allocations: 0.8792 MB / 409.2 MB, free: 5.125 MB / 394.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.1538852779194713]