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.001547/0.001547, allocations: 93.16 kB / 19.65 MB, free: 288 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.001809/0.001809, allocations: 172.9 kB / 23.02 MB, free: 1.559 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.029/1.029, allocations: 177.1 MB / 203.4 MB, free: 5.664 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.8109/0.8109, allocations: 154.9 MB / 414.8 MB, free: 444 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.954e-06/1.954e-06, allocations: 0 / 0.5207 GB, free: 1.777 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.324e-05/3.52e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.773 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001902/0.001937, allocations: 0.6094 MB / 0.5213 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.003623, allocations: 1.161 MB / 0.5225 GB, free: 12 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.003656, allocations: 4.938 kB / 0.5225 GB, free: 8 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.00368, allocations: 3.938 kB / 0.5225 GB, free: 4 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.004001, allocations: 20.58 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.004004, allocations: 0 / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.993e-05/0.004054, allocations: 4.5 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.004098, allocations: 0.7812 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.905e-05/0.004127, allocations: 4 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.563e-05/0.004152, allocations: 5.156 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.004163, allocations: 0 / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.004293, allocations: 19.97 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.004304, allocations: 0.5 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.363e-05/0.004317, allocations: 3.938 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.95e-05/0.004417, allocations: 17.7 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.004421, allocations: 0 / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.282e-06/0.004422, allocations: 0 / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.004427, allocations: 0 / 0.5226 GB, free: 15.93 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.0003013/0.004729, allocations: 344.4 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.004776, allocations: 13.75 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.005095, allocations: 12.92 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.208e-05/0.005167, allocations: 104.6 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.005185, allocations: 384 / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.005208, allocations: 9.828 kB / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.005317, allocations: 38.25 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.005328, allocations: 192 / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.005339, allocations: 384 / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.005349, allocations: 8.625 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.005391, allocations: 4 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.005535, allocations: 118.1 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.005731, allocations: 35.06 kB / 0.5232 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.005754, allocations: 11.81 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.005774, allocations: 5.344 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.005801, allocations: 37.39 kB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.005802, allocations: 3.938 kB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.001438/0.00724, allocations: 260.4 kB / 0.5235 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.007283, allocations: 51.41 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.831e-05/0.007341, allocations: 142.8 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.007363, allocations: 27.2 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.007404, allocations: 126.9 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.007455, allocations: 19.89 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/0.007519, allocations: 27.36 kB / 0.5239 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.007683, allocations: 494.6 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.007745, allocations: 4 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.217e-05/0.007827, allocations: 41.8 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.007958, allocations: 45.88 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.00796, allocations: 3.562 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002276/0.008188, allocations: 65.22 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.008205, allocations: 4 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.008216, allocations: 7.984 kB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.008234, allocations: 4 kB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.008409, allocations: 33.3 kB / 0.5246 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.008415, allocations: 0 / 0.5246 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.323e-05/0.008508, allocations: 25.45 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.00852, allocations: 4.625 kB / 0.5246 GB, free: 13.66 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.953e-05/0.0086, allocations: 153.3 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.00862, allocations: 11.89 kB / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.008664, allocations: 11.75 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.008667, allocations: 0.5312 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.008672, allocations: 7.938 kB / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008675, allocations: 0.7812 kB / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.009062, allocations: 300.5 kB / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.009064, allocations: 1.219 kB / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.00919, allocations: 32.86 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.009193, allocations: 4.844 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.009206, allocations: 4 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.009207, allocations: 1.188 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.009209, allocations: 0 / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.009372, allocations: 207.4 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-06/0.009377, allocations: 0 / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.009395, allocations: 3.938 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.009499, allocations: 22.58 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.009515, allocations: 4 kB / 0.5253 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.009522, allocations: 1.344 kB / 0.5253 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3e-05/0.009552, allocations: 119.2 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009552, allocations: 0 / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001603/0.009713, allocations: 12 kB / 0.5255 GB, free: 12.72 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.0001156/0.009828, allocations: 100.7 kB / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.00999, allocations: 38.97 kB / 0.5256 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.009992, allocations: 0.8438 kB / 0.5256 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.331e-05/0.01004, allocations: 25.12 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.0102, allocations: 20.78 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.01057, allocations: 132.7 kB / 0.5258 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.962e-05/0.01062, allocations: 59.28 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001171/0.01074, allocations: 32.88 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.193e-05/0.0108, allocations: 10.19 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/0.0108, allocations: 0 / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.002729/0.01353, allocations: 0.8549 MB / 0.5267 GB, free: 11.47 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.996364323887974]