Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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: 73.88 kB / 20.65 MB, free: 3.844 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.0009892/0.0009892, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.99/0.99, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7751/0.7751, allocations: 154.6 MB / 415.6 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.5216 GB, free: 1.812 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.608e-05, allocations: 2.906 kB / 0.5216 GB, free: 1.809 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001186/0.001212, allocations: 0.6035 MB / 0.5222 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.002581, allocations: 1.158 MB / 0.5233 GB, free: 56 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.00261, allocations: 5.094 kB / 0.5233 GB, free: 52 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.002625, allocations: 0 / 0.5233 GB, free: 52 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.002858, allocations: 23.86 kB / 0.5233 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.306e-06/0.002861, allocations: 0.5625 kB / 0.5233 GB, free: 28 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.695e-05/0.002898, allocations: 7.922 kB / 0.5234 GB, free: 20 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.002935, allocations: 4.562 kB / 0.5234 GB, free: 16 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.336e-05/0.002959, allocations: 0.9375 kB / 0.5234 GB, free: 16 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.25e-05/0.002981, allocations: 0 / 0.5234 GB, free: 16 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.175e-06/0.002989, allocations: 0 / 0.5234 GB, free: 16 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.003098, allocations: 21.39 kB / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.003109, allocations: 3.984 kB / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.237e-06/0.003118, allocations: 4 kB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 6.648e-05/0.003185, allocations: 8.953 kB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003186, allocations: 0 / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003187, allocations: 0 / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.003192, allocations: 1.969 kB / 0.5234 GB, free: 15.98 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.0002092/0.003401, allocations: 348.2 kB / 0.5237 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.003434, allocations: 8.031 kB / 0.5237 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.003459, allocations: 0.9375 kB / 0.5237 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.878e-05/0.003518, allocations: 112.6 kB / 0.5238 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.003529, allocations: 5.312 kB / 0.5238 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.003545, allocations: 384 / 0.5238 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.412e-05/0.00361, allocations: 34.25 kB / 0.5239 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.003618, allocations: 4.938 kB / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.003625, allocations: 4.375 kB / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.003631, allocations: 9.031 kB / 0.5239 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.003653, allocations: 3.984 kB / 0.5239 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.52e-05/0.003748, allocations: 97.25 kB / 0.524 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.0039, allocations: 44.47 kB / 0.524 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.325e-05/0.003913, allocations: 11.69 kB / 0.524 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.695e-05/0.004, allocations: 8.078 kB / 0.5241 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.00402, allocations: 38.17 kB / 0.5241 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.004021, allocations: 0 / 0.5241 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.001071/0.005092, allocations: 265.3 kB / 0.5243 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.005121, allocations: 59.34 kB / 0.5244 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.75e-05/0.005158, allocations: 142.8 kB / 0.5245 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.005171, allocations: 26.86 kB / 0.5246 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.864e-05/0.005199, allocations: 126.9 kB / 0.5247 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.005232, allocations: 11.91 kB / 0.5247 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.005273, allocations: 34.09 kB / 0.5247 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.005381, allocations: 492.1 kB / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.391e-05/0.005415, allocations: 11.92 kB / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.401e-05/0.005459, allocations: 29.56 kB / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.108e-05/0.00554, allocations: 46.33 kB / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.005541, allocations: 0.75 kB / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001323/0.005673, allocations: 69.05 kB / 0.5253 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.005686, allocations: 6.531 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.005691, allocations: 0 / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.694e-06/0.005699, allocations: 0.75 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.005844, allocations: 29.52 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.005849, allocations: 10.41 kB / 0.5254 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.986e-05/0.005938, allocations: 23.98 kB / 0.5254 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.005946, allocations: 2.438 kB / 0.5254 GB, free: 13.74 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.273e-05/0.006019, allocations: 156.6 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.006035, allocations: 3.953 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.006216, allocations: 89.47 kB / 0.5257 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.006217, allocations: 0 / 0.5257 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.006219, allocations: 0 / 0.5257 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.006223, allocations: 4.188 kB / 0.5257 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.006491, allocations: 289.6 kB / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.006493, allocations: 4 kB / 0.5259 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.006608, allocations: 29.67 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.00661, allocations: 1.672 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.00662, allocations: 4 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.006622, allocations: 3.938 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006623, allocations: 0.8125 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.006777, allocations: 207.2 kB / 0.5262 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.006783, allocations: 4 kB / 0.5262 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.006795, allocations: 3.984 kB / 0.5262 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.837e-05/0.006894, allocations: 26.27 kB / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-06/0.006903, allocations: 0 / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.006911, allocations: 4.5 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.886e-05/0.00694, allocations: 119.7 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.00694, allocations: 2.219 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001628/0.007103, allocations: 12 kB / 0.5263 GB, free: 12.75 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.0001136/0.007216, allocations: 107.2 kB / 0.5264 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.007327, allocations: 27.48 kB / 0.5265 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.007328, allocations: 0 / 0.5265 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.007368, allocations: 25.31 kB / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.007507, allocations: 9.016 kB / 0.5265 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.007786, allocations: 125.2 kB / 0.5266 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.142e-05/0.007817, allocations: 64.2 kB / 0.5267 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.952e-05/0.007917, allocations: 27.06 kB / 0.5267 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/0.007988, allocations: 70.2 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of SimCode: time 7.42e-07/0.007988, allocations: 0 / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.002154/0.01014, allocations: 0.926 MB / 0.5277 GB, free: 11.4 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.651691534090787]