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.001547/0.001547, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001894/0.001894, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9938/0.9938, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.8362/0.8362, allocations: 154.8 MB / 414.7 MB, free: 492 kB / 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.914e-06/1.914e-06, allocations: 0 / 0.5206 GB, free: 1.945 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.493e-05/3.684e-05, allocations: 4.562 kB / 0.5206 GB, free: 1.941 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002501/0.002537, allocations: 1.497 MB / 0.522 GB, free: 464 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007303/0.003268, allocations: 0.4908 MB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.003301, allocations: 0 / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.003325, allocations: 6.781 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.614e-05/0.003381, allocations: 3.938 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.003577, allocations: 27.86 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.552e-05/0.003643, allocations: 19.92 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.803e-05/0.003721, allocations: 8 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.134e-05/0.003792, allocations: 11.98 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.384e-05/0.003826, allocations: 17.06 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.003838, allocations: 0 / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.842e-05/0.003897, allocations: 16 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.003911, allocations: 4.547 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.751e-05/0.003928, allocations: 8 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.004038, allocations: 36.39 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.004041, allocations: 0.9375 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004042, allocations: 0 / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.004047, allocations: 0 / 0.5227 GB, free: 15.81 MB / 0.4948 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.0003295/0.004377, allocations: 362 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.004412, allocations: 12.03 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.004624, allocations: 16.91 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.21e-05/0.004716, allocations: 113.5 kB / 0.5231 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.004728, allocations: 4.375 kB / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.004739, allocations: 384 / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.004853, allocations: 60.91 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.00486, allocations: 192 / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.004869, allocations: 384 / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.004877, allocations: 7.922 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.019e-05/0.004907, allocations: 11.94 kB / 0.5232 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.005192, allocations: 248.7 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.038e-05/0.005252, allocations: 39.09 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/0.005276, allocations: 12.56 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.005293, allocations: 0 / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.005313, allocations: 42.36 kB / 0.5235 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.005314, allocations: 0 / 0.5235 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000145/0.005459, allocations: 47.12 kB / 0.5236 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.005483, allocations: 55.34 kB / 0.5236 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/0.005554, allocations: 157.9 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.005566, allocations: 29.7 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.005611, allocations: 131.6 kB / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.005627, allocations: 7.953 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.005654, allocations: 20.16 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.005767, allocations: 496.1 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.005787, allocations: 2.969 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/0.005802, allocations: 7.984 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.785e-05/0.00584, allocations: 19.62 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005842, allocations: 0 / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.608e-05/0.005908, allocations: 37.95 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.005921, allocations: 7.938 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.005928, allocations: 8.484 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.00594, allocations: 0.75 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.16e-05/0.006021, allocations: 8 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.006026, allocations: 0.8438 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.00605, allocations: 7.953 kB / 0.5245 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.006055, allocations: 0.9688 kB / 0.5245 GB, free: 13.68 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 6.877e-05/0.006124, allocations: 164.6 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.006143, allocations: 8.469 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.006181, allocations: 4.375 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.006183, allocations: 0 / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.006188, allocations: 4 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.006191, allocations: 0.5 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.529e-05/0.006287, allocations: 117.7 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.006288, allocations: 0 / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.006321, allocations: 4 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.006323, allocations: 1.219 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.006333, allocations: 11.92 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.006334, allocations: 0 / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.006334, allocations: 0.625 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.006455, allocations: 185.4 kB / 0.525 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.006464, allocations: 7.938 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.006477, allocations: 7.938 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.006517, allocations: 0 / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.006547, allocations: 15.38 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.00655, allocations: 3.938 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.79e-05/0.006588, allocations: 127.2 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.006588, allocations: 0 / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001325/0.006721, allocations: 4 kB / 0.5252 GB, free: 12.97 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 7.742e-05/0.006798, allocations: 91.25 kB / 0.5253 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.457e-05/0.006873, allocations: 19.69 kB / 0.5253 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006874, allocations: 2.719 kB / 0.5253 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-05/0.006893, allocations: 15.67 kB / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.007074, allocations: 9.625 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.007309, allocations: 122.2 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.436e-05/0.007343, allocations: 59.94 kB / 0.5255 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.007373, allocations: 3.188 kB / 0.5255 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.007403, allocations: 12.5 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.007403, allocations: 0 / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.002073/0.009476, allocations: 0.6005 MB / 0.5261 GB, free: 12.01 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.9759720833972096]