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.0009236/0.0009236, allocations: 93.06 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.001547/0.001547, allocations: 165 kB / 23.02 MB, free: 1.547 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.621 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.8206/0.8206, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.834e-06/1.834e-06, allocations: 0.9844 kB / 0.5204 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.802e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.156 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.004438/0.004466, allocations: 0.6086 MB / 0.521 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.005952, allocations: 1.165 MB / 0.5221 GB, free: 400 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.005982, allocations: 0 / 0.5221 GB, free: 400 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.006004, allocations: 0.5625 kB / 0.5221 GB, free: 400 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.006269, allocations: 27.84 kB / 0.5221 GB, free: 372 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.945e-06/0.006272, allocations: 0.5625 kB / 0.5221 GB, free: 372 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.384e-05/0.006316, allocations: 4.969 kB / 0.5221 GB, free: 368 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.006355, allocations: 0 / 0.5221 GB, free: 368 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.487e-05/0.00638, allocations: 3.938 kB / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.34e-05/0.006403, allocations: 0.5312 kB / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.006414, allocations: 5.375 kB / 0.5222 GB, free: 360 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.006521, allocations: 19.92 kB / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.998e-06/0.006531, allocations: 0 / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.385e-05/0.006545, allocations: 3.938 kB / 0.5222 GB, free: 336 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.264e-05/0.006627, allocations: 12.91 kB / 0.5222 GB, free: 324 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.006631, allocations: 0 / 0.5222 GB, free: 324 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.006633, allocations: 1.531 kB / 0.5222 GB, free: 324 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.006638, allocations: 4 kB / 0.5222 GB, free: 320 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.0002927/0.00693, allocations: 344.4 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.006971, allocations: 8.031 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.007011, allocations: 5.969 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.669e-05/0.007078, allocations: 104.6 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.00709, allocations: 384 / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003046/0.01014, allocations: 5.062 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.148e-05/0.01023, allocations: 42.19 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.01024, allocations: 5.453 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.01025, allocations: 384 / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.01026, allocations: 3.938 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.008e-05/0.01029, allocations: 4.625 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.01041, allocations: 116.6 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.01058, allocations: 32.03 kB / 0.5228 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.0106, allocations: 15.81 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.01071, allocations: 8.5 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.01074, allocations: 38.08 kB / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.01074, allocations: 0 / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.001287/0.01202, allocations: 278 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.01206, allocations: 55.41 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.519e-05/0.0121, allocations: 142.2 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.01212, allocations: 29.7 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.01215, allocations: 128.5 kB / 0.5235 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.01219, allocations: 7.906 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.01224, allocations: 35.3 kB / 0.5235 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.01237, allocations: 492.1 kB / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.966e-05/0.01242, allocations: 5.969 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.287e-05/0.01248, allocations: 36.64 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.0126, allocations: 52.03 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.0126, allocations: 0 / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001605/0.01276, allocations: 61.88 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.01277, allocations: 8 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01278, allocations: 0 / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.0128, allocations: 0.5938 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.01297, allocations: 43.56 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01298, allocations: 0 / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/0.01611, allocations: 18.38 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.01612, allocations: 4 kB / 0.5242 GB, free: 14.05 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.897e-05/0.0162, allocations: 164.5 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.01622, allocations: 7.953 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.01644, allocations: 81.05 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01644, allocations: 0 / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.01645, allocations: 4.875 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01645, allocations: 3.984 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.01679, allocations: 306 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01679, allocations: 0 / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.01695, allocations: 29.05 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01695, allocations: 3.938 kB / 0.5248 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.01697, allocations: 5.438 kB / 0.5248 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01697, allocations: 0 / 0.5248 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.01697, allocations: 0 / 0.5248 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.01715, allocations: 208.4 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-06/0.01716, allocations: 4.406 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.01718, allocations: 7.938 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.01732, allocations: 18.97 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.01733, allocations: 7.984 kB / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.01734, allocations: 0 / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.017e-05/0.01737, allocations: 119.2 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01737, allocations: 0 / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002378/0.01761, allocations: 12 kB / 0.5252 GB, free: 13.04 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.0001532/0.01776, allocations: 108.6 kB / 0.5253 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.01792, allocations: 39.97 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01793, allocations: 4 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.25e-05/0.01798, allocations: 17.62 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.01819, allocations: 7.953 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.01855, allocations: 129.3 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.659e-05/0.01859, allocations: 56.05 kB / 0.5255 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.01872, allocations: 31.14 kB / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.984e-05/0.01878, allocations: 16.5 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.01878, allocations: 2.125 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.005753/0.02453, allocations: 0.8533 MB / 0.5264 GB, free: 11.8 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: 4.021293679252267]