Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.002105/0.002105, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002226/0.002226, allocations: 206.7 kB / 22.24 MB, free: 5.258 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.316/1.316, allocations: 203.8 MB / 0.5042 GB, free: 4.621 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [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.002143/0.002143, allocations: 71.88 kB / 0.7187 GB, free: 1.934 MB / 0.5763 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6799/0.682, allocations: 102 MB / 0.8183 GB, free: 28.92 MB / 0.6388 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002034/0.684, allocations: 0.6026 MB / 0.8189 GB, free: 28.57 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.6858, allocations: 1.129 MB / 0.82 GB, free: 27.75 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.6858, allocations: 5.062 kB / 0.82 GB, free: 27.75 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.6858, allocations: 0 / 0.82 GB, free: 27.75 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.6861, allocations: 14.39 kB / 0.82 GB, free: 27.75 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 3.898e-06/0.6861, allocations: 1.062 kB / 0.82 GB, free: 27.75 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 4.535e-05/0.6862, allocations: 5.906 kB / 0.82 GB, free: 27.75 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 6.01e-05/0.6862, allocations: 6.266 kB / 0.82 GB, free: 27.74 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 1.921e-05/0.6862, allocations: 9.031 kB / 0.82 GB, free: 27.74 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 2.8e-05/0.6863, allocations: 2.266 kB / 0.82 GB, free: 27.74 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 9.477e-06/0.6863, allocations: 0.7812 kB / 0.82 GB, free: 27.74 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.6864, allocations: 14.05 kB / 0.82 GB, free: 27.73 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.6864, allocations: 0.8438 kB / 0.82 GB, free: 27.73 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 1.347e-05/0.6864, allocations: 4.844 kB / 0.8201 GB, free: 27.73 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 9.942e-05/0.6865, allocations: 22.19 kB / 0.8201 GB, free: 27.72 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6865, allocations: 0 / 0.8201 GB, free: 27.72 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.434e-06/0.6865, allocations: 0.625 kB / 0.8201 GB, free: 27.72 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.6865, allocations: 2.594 kB / 0.8201 GB, free: 27.72 MB / 0.6388 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.0002649/0.6868, allocations: 242.1 kB / 0.8203 GB, free: 27.46 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.6868, allocations: 11.62 kB / 0.8203 GB, free: 27.46 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003248/0.6872, allocations: 14.14 kB / 0.8203 GB, free: 27.46 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.737e-05/0.6872, allocations: 113.1 kB / 0.8204 GB, free: 27.33 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.6873, allocations: 5.344 kB / 0.8204 GB, free: 27.33 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.6873, allocations: 1.812 kB / 0.8204 GB, free: 27.33 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.6874, allocations: 40.31 kB / 0.8205 GB, free: 27.29 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.6874, allocations: 6.188 kB / 0.8205 GB, free: 27.29 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.6874, allocations: 4.969 kB / 0.8205 GB, free: 27.29 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.6874, allocations: 0 / 0.8205 GB, free: 27.29 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.054e-05/0.6875, allocations: 10.34 kB / 0.8205 GB, free: 27.28 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.6876, allocations: 99.05 kB / 0.8206 GB, free: 27.16 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.6878, allocations: 33.89 kB / 0.8206 GB, free: 27.13 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.6878, allocations: 13.5 kB / 0.8206 GB, free: 27.12 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.6879, allocations: 2.062 kB / 0.8206 GB, free: 27.12 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.6879, allocations: 35.88 kB / 0.8207 GB, free: 27.08 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.6879, allocations: 0.5 kB / 0.8207 GB, free: 27.08 MB / 0.6388 GB Notification: Performance of matching and sorting (n=5): time 0.004482/0.6924, allocations: 0.5452 MB / 0.8212 GB, free: 27 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.6924, allocations: 57.11 kB / 0.8213 GB, free: 26.94 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.399e-05/0.6924, allocations: 90.39 kB / 0.8214 GB, free: 26.84 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.6925, allocations: 26.23 kB / 0.8214 GB, free: 26.81 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 1.575e-05/0.6925, allocations: 84.67 kB / 0.8215 GB, free: 26.72 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.6925, allocations: 19.5 kB / 0.8215 GB, free: 26.71 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.6926, allocations: 17.36 kB / 0.8215 GB, free: 26.69 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 6.525e-05/0.6927, allocations: 316.7 kB / 0.8218 GB, free: 26.38 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007295/0.6934, allocations: 79.48 kB / 0.8219 GB, free: 26.37 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006715/0.6941, allocations: 106.7 kB / 0.822 GB, free: 26.34 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.6953, allocations: 192.1 kB / 0.8222 GB, free: 26.29 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.6953, allocations: 3.938 kB / 0.8222 GB, free: 26.29 MB / 0.6388 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001363/0.6967, allocations: 215.4 kB / 0.8224 GB, free: 26.23 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.6967, allocations: 9.062 kB / 0.8224 GB, free: 26.23 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6967, allocations: 0.8906 kB / 0.8224 GB, free: 26.23 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.6967, allocations: 2.312 kB / 0.8224 GB, free: 26.23 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.6972, allocations: 49.27 kB / 0.8224 GB, free: 26.22 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.6972, allocations: 2.266 kB / 0.8224 GB, free: 26.22 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/0.6976, allocations: 40.3 kB / 0.8225 GB, free: 26.22 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.6976, allocations: 3.172 kB / 0.8225 GB, free: 26.22 MB / 0.6388 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 7.975e-05/0.6977, allocations: 118.2 kB / 0.8226 GB, free: 26.1 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.6977, allocations: 5.453 kB / 0.8226 GB, free: 26.09 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.227e-05/0.6978, allocations: 10 kB / 0.8226 GB, free: 26.09 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.6978, allocations: 0 / 0.8226 GB, free: 26.09 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.6978, allocations: 1.094 kB / 0.8226 GB, free: 26.09 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6978, allocations: 0.5156 kB / 0.8226 GB, free: 26.09 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.6995, allocations: 410 kB / 0.823 GB, free: 25.82 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6995, allocations: 1.719 kB / 0.823 GB, free: 25.82 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/0.6999, allocations: 50.22 kB / 0.823 GB, free: 25.82 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.6999, allocations: 4 kB / 0.823 GB, free: 25.81 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.6999, allocations: 2.344 kB / 0.823 GB, free: 25.81 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.6999, allocations: 4.703 kB / 0.823 GB, free: 25.81 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6999, allocations: 3.938 kB / 0.8231 GB, free: 25.8 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.7013, allocations: 311.8 kB / 0.8234 GB, free: 25.64 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.7013, allocations: 1.766 kB / 0.8234 GB, free: 25.64 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.7014, allocations: 1.719 kB / 0.8234 GB, free: 25.64 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.7018, allocations: 40.67 kB / 0.8234 GB, free: 25.64 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.7018, allocations: 2.625 kB / 0.8234 GB, free: 25.64 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.7018, allocations: 3.172 kB / 0.8234 GB, free: 25.64 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 1.869e-05/0.7018, allocations: 75.28 kB / 0.8235 GB, free: 25.57 MB / 0.6388 GB Notification: Performance of sort global known variables: time 5e-08/0.7018, allocations: 0 / 0.8235 GB, free: 25.57 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.000332/0.7022, allocations: 12.03 kB / 0.8235 GB, free: 25.56 MB / 0.6388 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.0001609/0.7023, allocations: 98.53 kB / 0.8236 GB, free: 25.47 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.7037, allocations: 179.8 kB / 0.8237 GB, free: 25.45 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7037, allocations: 1.438 kB / 0.8237 GB, free: 25.45 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0006443/0.7044, allocations: 89.05 kB / 0.8238 GB, free: 25.44 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.7047, allocations: 12.03 kB / 0.8238 GB, free: 25.43 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.7059, allocations: 218 kB / 0.8241 GB, free: 25.32 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.377e-05/0.706, allocations: 62.44 kB / 0.8241 GB, free: 25.24 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.0001769/0.7062, allocations: 30.84 kB / 0.8241 GB, free: 25.22 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.157e-05/0.7062, allocations: 11.56 kB / 0.8242 GB, free: 25.21 MB / 0.6388 GB Notification: Performance of SimCode: time 7.61e-07/0.7062, allocations: 0 / 0.8242 GB, free: 25.21 MB / 0.6388 GB Notification: Performance of Templates: time 0.003493/0.7097, allocations: 0.7877 MB / 0.8249 GB, free: 25.13 MB / 0.6388 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.861665263772011] Failed to read output from testmodel.py, exit status != 0: 0.718698050826788 0.732042631 0.042713736 Calling exit ...