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.001342/0.001342, allocations: 93.06 kB / 19.65 MB, free: 280 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.001469/0.001469, allocations: 169 kB / 23.02 MB, free: 1.555 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.9476/0.9476, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.816/0.816, allocations: 154.8 MB / 414.7 MB, free: 484 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.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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5206 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.074e-05, allocations: 4.281 kB / 0.5206 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002043/0.002073, allocations: 0.609 MB / 0.5212 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.003816, allocations: 1.161 MB / 0.5223 GB, free: 116 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.003849, allocations: 0 / 0.5223 GB, free: 116 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.258e-05/0.003872, allocations: 0.625 kB / 0.5223 GB, free: 116 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.004177, allocations: 25.44 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.367e-06/0.004181, allocations: 0 / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.967e-05/0.00423, allocations: 3.984 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.004281, allocations: 4 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.00431, allocations: 5.109 kB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.577e-05/0.004335, allocations: 0 / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.004346, allocations: 0 / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.004474, allocations: 20.73 kB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.004486, allocations: 0 / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.004502, allocations: 4 kB / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.004603, allocations: 17.16 kB / 0.5224 GB, free: 40 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.004606, allocations: 0 / 0.5224 GB, free: 40 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004607, allocations: 0 / 0.5224 GB, free: 40 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.004612, allocations: 0.7188 kB / 0.5224 GB, free: 40 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.0003239/0.004936, allocations: 344.4 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.004985, allocations: 12.59 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.005277, allocations: 17.88 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.046e-05/0.005358, allocations: 108.6 kB / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.005373, allocations: 4.375 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.005403, allocations: 0.875 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.00551, allocations: 34.84 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.005522, allocations: 192 / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.005532, allocations: 1.125 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.005542, allocations: 7.938 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.956e-05/0.005582, allocations: 15.08 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.005721, allocations: 108.6 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.005919, allocations: 39.09 kB / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.698e-05/0.005946, allocations: 15.69 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.005971, allocations: 0 / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.006001, allocations: 33.39 kB / 0.5231 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.006002, allocations: 0 / 0.5231 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.001497/0.007499, allocations: 256.6 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.007542, allocations: 59.34 kB / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.79e-05/0.0076, allocations: 142.2 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.007624, allocations: 26.58 kB / 0.5236 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.00767, allocations: 130.9 kB / 0.5237 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.007719, allocations: 12.67 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.007782, allocations: 23.38 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.007932, allocations: 0.489 MB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.135e-05/0.007983, allocations: 11.41 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.213e-05/0.008036, allocations: 27.06 kB / 0.5243 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.256e-05/0.008128, allocations: 51.7 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.008129, allocations: 0 / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001385/0.008268, allocations: 65.06 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.008282, allocations: 10.31 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.008288, allocations: 192 / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.008305, allocations: 0 / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.008462, allocations: 36.8 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.008469, allocations: 4.516 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.38e-05/0.008563, allocations: 22.62 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.008572, allocations: 0 / 0.5245 GB, free: 13.78 MB / 0.4948 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.437e-05/0.008647, allocations: 168.5 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.008664, allocations: 5.281 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.301e-05/0.008707, allocations: 13.66 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.008709, allocations: 0 / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.008716, allocations: 3.938 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.008721, allocations: 7.922 kB / 0.5246 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.009073, allocations: 299.8 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.009075, allocations: 0 / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.009199, allocations: 30.77 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.009202, allocations: 7.922 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.009213, allocations: 0 / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009214, allocations: 1.469 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.009216, allocations: 3.938 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.00939, allocations: 203.4 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-06/0.009395, allocations: 0 / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.009412, allocations: 11.92 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.009519, allocations: 18.47 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.009537, allocations: 7.984 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.009545, allocations: 4 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.155e-05/0.009576, allocations: 119.8 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.009576, allocations: 0 / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001683/0.009745, allocations: 8.688 kB / 0.5253 GB, free: 12.83 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 (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.0001203/0.009865, allocations: 93.69 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.01002, allocations: 38.33 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01002, allocations: 0 / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.731e-05/0.01007, allocations: 30.17 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.01023, allocations: 9.5 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.01058, allocations: 140.7 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.332e-05/0.01061, allocations: 57.64 kB / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.01072, allocations: 27.88 kB / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.01078, allocations: 16.48 kB / 0.5257 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.112e-06/0.01078, allocations: 0.625 kB / 0.5257 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.002358/0.01314, allocations: 0.82 MB / 0.5265 GB, free: 11.61 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.987509001046419]