Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001197/0.001197, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001081/0.001081, allocations: 173 kB / 23.49 MB, free: 1.062 MB / 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 1.007/1.007, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.8139/0.8139, allocations: 154.8 MB / 415.1 MB, free: 0.4961 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.5206 GB, free: 2.273 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.55e-05, allocations: 3.781 kB / 0.5206 GB, free: 2.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002086/0.002111, allocations: 1.491 MB / 0.522 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006267/0.002738, allocations: 498 kB / 0.5225 GB, free: 308 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.002759, allocations: 0 / 0.5225 GB, free: 308 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.282e-05/0.002772, allocations: 3.938 kB / 0.5225 GB, free: 304 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.312e-05/0.002805, allocations: 3.938 kB / 0.5225 GB, free: 300 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.002921, allocations: 33.41 kB / 0.5226 GB, free: 268 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.014e-05/0.002982, allocations: 27.92 kB / 0.5226 GB, free: 240 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.00307, allocations: 0 / 0.5226 GB, free: 240 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.599e-05/0.003136, allocations: 19.92 kB / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.712e-05/0.003164, allocations: 4.75 kB / 0.5226 GB, free: 216 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.003178, allocations: 4 kB / 0.5226 GB, free: 212 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.735e-05/0.003236, allocations: 17.44 kB / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.003252, allocations: 4 kB / 0.5226 GB, free: 192 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.003274, allocations: 11.92 kB / 0.5226 GB, free: 180 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.598e-05/0.00337, allocations: 27.91 kB / 0.5227 GB, free: 152 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003372, allocations: 1.344 kB / 0.5227 GB, free: 152 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.003373, allocations: 0 / 0.5227 GB, free: 152 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.003377, allocations: 4 kB / 0.5227 GB, free: 148 kB / 490.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.0003385/0.003715, allocations: 361.6 kB / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.003752, allocations: 8.031 kB / 0.523 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.003934, allocations: 12.92 kB / 0.523 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.832e-05/0.003992, allocations: 127.4 kB / 0.5232 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.709e-06/0.003997, allocations: 384 / 0.5232 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-06/0.004003, allocations: 4.375 kB / 0.5232 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.32e-05/0.004076, allocations: 58.94 kB / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-06/0.004078, allocations: 192 / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-06/0.004083, allocations: 384 / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.004087, allocations: 3.938 kB / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.186e-05/0.004119, allocations: 8.5 kB / 0.5232 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.004339, allocations: 251.8 kB / 0.5235 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.124e-05/0.00438, allocations: 31.62 kB / 0.5235 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.004399, allocations: 16.58 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.004413, allocations: 3.938 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.004434, allocations: 41.83 kB / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.004435, allocations: 1.5 kB / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001315/0.004566, allocations: 45.64 kB / 0.5236 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.004593, allocations: 55.39 kB / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/0.004658, allocations: 158.9 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.004668, allocations: 25.7 kB / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.004709, allocations: 130.9 kB / 0.524 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.004725, allocations: 9.344 kB / 0.524 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.00475, allocations: 23.38 kB / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.004862, allocations: 492.1 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.004875, allocations: 5.156 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.248e-06/0.004885, allocations: 0 / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.004916, allocations: 28.3 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.004917, allocations: 0 / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.657e-05/0.004964, allocations: 42.98 kB / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.004974, allocations: 9.5 kB / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.004976, allocations: 0 / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/0.004982, allocations: 3 kB / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.005052, allocations: 12.23 kB / 0.5246 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.005056, allocations: 0 / 0.5246 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.005078, allocations: 7.953 kB / 0.5246 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.005082, allocations: 4 kB / 0.5246 GB, free: 14.01 MB / 0.4948 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 5.544e-05/0.005137, allocations: 152.6 kB / 0.5247 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.005151, allocations: 7.938 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.005173, allocations: 14.05 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-07/0.005174, allocations: 0 / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.005178, allocations: 7.922 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.005181, allocations: 0 / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.109e-05/0.005262, allocations: 112.6 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.005263, allocations: 0 / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.376e-05/0.005286, allocations: 8 kB / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.005287, allocations: 0.5312 kB / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.005294, allocations: 5.25 kB / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.005295, allocations: 0 / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005295, allocations: 0 / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.192e-05/0.005387, allocations: 192.4 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.005392, allocations: 8.453 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.005402, allocations: 3.938 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.005441, allocations: 13.8 kB / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.005465, allocations: 0 / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.005467, allocations: 0 / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.701e-05/0.005504, allocations: 123.2 kB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.005504, allocations: 3.938 kB / 0.5252 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000131/0.005635, allocations: 10.42 kB / 0.5252 GB, free: 13.3 MB / 0.4948 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 6.948e-05/0.005705, allocations: 95.25 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.842e-05/0.005783, allocations: 15.69 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005784, allocations: 4 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-05/0.005804, allocations: 14.12 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.00599, allocations: 11.59 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002159/0.006206, allocations: 118.2 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.244e-05/0.006238, allocations: 56.33 kB / 0.5255 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.603e-05/0.006264, allocations: 7.5 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.006285, allocations: 8.5 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of SimCode: time 3.8e-07/0.006285, allocations: 0 / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of Templates: time 0.001875/0.00816, allocations: 0.6058 MB / 0.5261 GB, free: 12.34 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.918401096947491]