Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001287/0.001287, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001333/0.001333, allocations: 157.4 kB / 23.01 MB, free: 4.605 MB / 14.72 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.388/1.388, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7913/0.7913, allocations: 101.3 MB / 361.1 MB, free: 9.543 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63 kB / 0.5356 GB, free: 5.238 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1407, allocations: 85.89 MB / 0.6195 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002518/0.1432, allocations: 1.46 MB / 0.6209 GB, free: 96 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000843/0.144, allocations: 471.8 kB / 0.6214 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.1441, allocations: 0 / 0.6214 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.1441, allocations: 7.938 kB / 0.6214 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.045e-05/0.1441, allocations: 11.86 kB / 0.6214 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.1443, allocations: 19.97 kB / 0.6214 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.093e-05/0.1444, allocations: 23.94 kB / 0.6214 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.346e-05/0.1445, allocations: 7.984 kB / 0.6214 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.232e-05/0.1445, allocations: 11.94 kB / 0.6215 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.695e-05/0.1446, allocations: 11.92 kB / 0.6215 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.1446, allocations: 4 kB / 0.6215 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.003e-05/0.1446, allocations: 15.97 kB / 0.6215 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.1446, allocations: 8 kB / 0.6215 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.1447, allocations: 3.938 kB / 0.6215 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.1448, allocations: 43.77 kB / 0.6215 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1448, allocations: 0 / 0.6215 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1448, allocations: 4 kB / 0.6215 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.1448, allocations: 0 / 0.6215 GB, free: 15.45 MB / 0.5294 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.0004241/0.1452, allocations: 266.3 kB / 0.6218 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1452, allocations: 8.031 kB / 0.6218 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.1453, allocations: 4.891 kB / 0.6218 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1454, allocations: 110.5 kB / 0.6219 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1454, allocations: 384 / 0.6219 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.1454, allocations: 8.312 kB / 0.6219 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.1456, allocations: 53.97 kB / 0.622 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1456, allocations: 8 kB / 0.622 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1456, allocations: 4 kB / 0.622 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1456, allocations: 0 / 0.622 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.1458, allocations: 27.97 kB / 0.622 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.146, allocations: 196.6 kB / 0.6222 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.1462, allocations: 42.44 kB / 0.6222 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.317e-05/0.1463, allocations: 20.89 kB / 0.6223 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.085e-05/0.1464, allocations: 8 kB / 0.6223 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.1464, allocations: 34.56 kB / 0.6223 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1464, allocations: 0 / 0.6223 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003525/0.1467, allocations: 85.59 kB / 0.6224 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.1468, allocations: 51.41 kB / 0.6224 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.1469, allocations: 105.8 kB / 0.6225 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1469, allocations: 29.64 kB / 0.6226 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.1469, allocations: 88.27 kB / 0.6226 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.147, allocations: 11.89 kB / 0.6227 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.147, allocations: 13.72 kB / 0.6227 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1471, allocations: 318.8 kB / 0.623 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-05/0.1472, allocations: 11.98 kB / 0.623 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-05/0.1473, allocations: 19.98 kB / 0.623 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.1475, allocations: 36.83 kB / 0.623 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1475, allocations: 4.062 kB / 0.623 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002156/0.1477, allocations: 69.59 kB / 0.6231 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.1477, allocations: 4 kB / 0.6231 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.1477, allocations: 0 / 0.6231 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1477, allocations: 3.938 kB / 0.6231 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.1478, allocations: 11.98 kB / 0.6231 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.1478, allocations: 0 / 0.6231 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.1478, allocations: 8.016 kB / 0.6231 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.1479, allocations: 4 kB / 0.6231 GB, free: 13.64 MB / 0.5294 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 (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 7.765e-05/0.1479, allocations: 113.8 kB / 0.6232 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.148, allocations: 7.938 kB / 0.6233 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.1482, allocations: 69.22 kB / 0.6233 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1482, allocations: 4 kB / 0.6233 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1482, allocations: 4 kB / 0.6233 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1482, allocations: 0 / 0.6233 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.1483, allocations: 105.3 kB / 0.6234 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1483, allocations: 7.938 kB / 0.6234 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.544e-05/0.1484, allocations: 15.92 kB / 0.6235 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1484, allocations: 0 / 0.6235 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1484, allocations: 4 kB / 0.6235 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1484, allocations: 0 / 0.6235 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1484, allocations: 0 / 0.6235 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.1487, allocations: 155.5 kB / 0.6236 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.1487, allocations: 7.938 kB / 0.6236 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.1487, allocations: 4.031 kB / 0.6236 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.1488, allocations: 11.98 kB / 0.6236 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.1488, allocations: 0 / 0.6236 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.1488, allocations: 0 / 0.6236 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.506e-05/0.1489, allocations: 87.2 kB / 0.6237 GB, free: 13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1489, allocations: 0 / 0.6237 GB, free: 13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002275/0.1491, allocations: 8 kB / 0.6237 GB, free: 12.99 MB / 0.5294 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 (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 0.0001223/0.1492, allocations: 105.7 kB / 0.6238 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.1494, allocations: 43.89 kB / 0.6239 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1494, allocations: 0 / 0.6239 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.703e-05/0.1495, allocations: 15.98 kB / 0.6239 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.1498, allocations: 11.94 kB / 0.6239 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.15, allocations: 109.5 kB / 0.624 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.841e-05/0.1501, allocations: 59.34 kB / 0.624 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.022e-05/0.1501, allocations: 8.125 kB / 0.6241 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.1501, allocations: 8.5 kB / 0.6241 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1501, allocations: 0 / 0.6241 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of Templates: time 0.002835/0.1529, allocations: 0.5882 MB / 0.6246 GB, free: 12.01 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.94311191001907] Failed to read output from testmodel.py, exit status != 0: 0.16006912395823747 0.175159166 0.027364976000000003 Calling exit ...