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.00107/0.00107, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.001189/0.001189, allocations: 169 kB / 23.27 MB, free: 1.223 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.031/1.031, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7808/0.7808, allocations: 154.9 MB / 415.1 MB, free: 272 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.624e-06/1.624e-06, allocations: 0 / 0.5212 GB, free: 1.457 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.831e-05, allocations: 7.766 kB / 0.5212 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00152/0.001548, allocations: 0.6013 MB / 0.5218 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.002874, allocations: 1.16 MB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.002903, allocations: 0 / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.002918, allocations: 0 / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.00313, allocations: 20.95 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 2.615e-06/0.003132, allocations: 3.938 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 3.327e-05/0.003166, allocations: 4 kB / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.411e-05/0.0032, allocations: 0.6875 kB / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.508e-05/0.003225, allocations: 0 / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.712e-05/0.003252, allocations: 13.27 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.00326, allocations: 0 / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.487e-05/0.003355, allocations: 15.92 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.937e-06/0.003364, allocations: 0 / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.534e-06/0.003371, allocations: 0.9375 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 7.26e-05/0.003444, allocations: 23.91 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003446, allocations: 0.6562 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003447, allocations: 0 / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.00345, allocations: 0.7812 kB / 0.523 GB, free: 15.62 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.0002303/0.00368, allocations: 340.4 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.003721, allocations: 12.88 kB / 0.5233 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.003916, allocations: 12.92 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.057e-05/0.003977, allocations: 114.9 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.003986, allocations: 384 / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.004002, allocations: 8.375 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.237e-05/0.004075, allocations: 34.25 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.004083, allocations: 192 / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.004089, allocations: 384 / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.004096, allocations: 4.812 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.211e-05/0.004118, allocations: 7.938 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.802e-05/0.004216, allocations: 101.2 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.004331, allocations: 32.41 kB / 0.5236 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.004347, allocations: 15.81 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.004365, allocations: 0.5938 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.004387, allocations: 37.39 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.004389, allocations: 0.7812 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.0009757/0.005364, allocations: 253.1 kB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.005396, allocations: 55.34 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.772e-05/0.005444, allocations: 146.2 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.005463, allocations: 29.7 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.005496, allocations: 128.3 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.00553, allocations: 11.91 kB / 0.5243 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.005579, allocations: 27.36 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.005705, allocations: 496.1 kB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.567e-05/0.005751, allocations: 6 kB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.689e-05/0.005808, allocations: 43.16 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.49e-05/0.005903, allocations: 45.44 kB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.005904, allocations: 0 / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001549/0.006059, allocations: 61.22 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.006071, allocations: 4.656 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.006077, allocations: 3.984 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.006087, allocations: 0.5625 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.006242, allocations: 31.11 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.006245, allocations: 7.938 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.006355, allocations: 26.41 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.006364, allocations: 0 / 0.525 GB, free: 13.39 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.7e-05/0.006441, allocations: 160.6 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.006462, allocations: 7.953 kB / 0.5252 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.006507, allocations: 16.5 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.006508, allocations: 0 / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.00651, allocations: 0 / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.006514, allocations: 3.938 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.006834, allocations: 286.1 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.006837, allocations: 3.984 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.006977, allocations: 30.92 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.006979, allocations: 0 / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.00699, allocations: 3.938 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.006992, allocations: 3.938 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006994, allocations: 0.6875 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.007191, allocations: 203.8 kB / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-06/0.007197, allocations: 4.047 kB / 0.5257 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.007212, allocations: 4 kB / 0.5257 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.007351, allocations: 22.94 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.007363, allocations: 7.984 kB / 0.5257 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.007372, allocations: 0 / 0.5257 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.968e-05/0.007402, allocations: 119.2 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007402, allocations: 0.7188 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002156/0.007618, allocations: 12 kB / 0.5259 GB, free: 12.47 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 9.67e-05/0.007714, allocations: 100.4 kB / 0.5259 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.007844, allocations: 31.52 kB / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.007846, allocations: 0 / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.126e-05/0.007897, allocations: 34.28 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.008085, allocations: 4 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.008433, allocations: 138.3 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.277e-05/0.008465, allocations: 55.36 kB / 0.5262 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001442/0.00861, allocations: 34.58 kB / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.477e-05/0.008704, allocations: 70.2 kB / 0.5263 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of SimCode: time 7.22e-07/0.008705, allocations: 0 / 0.5263 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.002436/0.01114, allocations: 0.876 MB / 0.5272 GB, free: 11.16 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.666047465056181]