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.001394/0.001394, allocations: 88.72 kB / 19.44 MB, free: 356 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.001572/0.001572, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.554/1.554, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.215/1.215, allocations: 154.6 MB / 414.2 MB, free: 0.6484 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 178] 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.833e-06/1.833e-06, allocations: 0 / 0.5197 GB, free: 2.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/3.375e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001855/0.001889, allocations: 0.5972 MB / 0.5203 GB, free: 1.922 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.003796, allocations: 1.136 MB / 0.5214 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.003826, allocations: 0 / 0.5214 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.238e-05/0.003839, allocations: 0 / 0.5214 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.004117, allocations: 15.92 kB / 0.5214 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.699e-06/0.004122, allocations: 0.7812 kB / 0.5214 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.737e-05/0.004169, allocations: 7.938 kB / 0.5214 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.00421, allocations: 0.7812 kB / 0.5214 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.484e-05/0.004245, allocations: 4 kB / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.671e-05/0.004272, allocations: 3.125 kB / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.347e-06/0.004281, allocations: 0 / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.004403, allocations: 23.84 kB / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.004413, allocations: 0 / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.004433, allocations: 4 kB / 0.5214 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.872e-05/0.004521, allocations: 15.92 kB / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004524, allocations: 0 / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.004524, allocations: 0 / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.004528, allocations: 0.5 kB / 0.5214 GB, free: 0.7031 MB / 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.000348/0.004876, allocations: 247.3 kB / 0.5217 GB, free: 444 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.004917, allocations: 8.031 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.004965, allocations: 0.9375 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.005071, allocations: 106.5 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.005085, allocations: 384 / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.005112, allocations: 1.344 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.00523, allocations: 46.12 kB / 0.5218 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.005241, allocations: 1.156 kB / 0.5218 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.00525, allocations: 384 / 0.5218 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.005262, allocations: 7.938 kB / 0.5218 GB, free: 244 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.944e-05/0.005301, allocations: 4.781 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.005463, allocations: 101.3 kB / 0.5219 GB, free: 108 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.005665, allocations: 27.55 kB / 0.522 GB, free: 72 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.005701, allocations: 20.92 kB / 0.522 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.005837, allocations: 4.5 kB / 0.522 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.005871, allocations: 31.59 kB / 0.522 GB, free: 4 kB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.005872, allocations: 0 / 0.522 GB, free: 4 kB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.004491/0.01036, allocations: 0.5771 MB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.01042, allocations: 51.41 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.01048, allocations: 90.39 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.01051, allocations: 25.7 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.01056, allocations: 84.84 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.01061, allocations: 23.83 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.01067, allocations: 18.94 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.01086, allocations: 310.8 kB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006721/0.01153, allocations: 82.73 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/0.01215, allocations: 109.1 kB / 0.5234 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.0134, allocations: 194.7 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.0134, allocations: 4 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001336/0.01474, allocations: 214 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.01476, allocations: 4 kB / 0.5238 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.01476, allocations: 0 / 0.5238 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.01479, allocations: 5.828 kB / 0.5238 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.0152, allocations: 55.62 kB / 0.5238 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.01521, allocations: 0 / 0.5238 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.01555, allocations: 46.55 kB / 0.5239 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.01556, allocations: 4 kB / 0.5239 GB, free: 14.14 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 0.000111/0.01568, allocations: 107.2 kB / 0.524 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.01571, allocations: 4 kB / 0.524 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.0171, allocations: 239.5 kB / 0.5242 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.0171, allocations: 0 / 0.5242 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.01711, allocations: 3.938 kB / 0.5242 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.01712, allocations: 8.875 kB / 0.5242 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.01868, allocations: 400.2 kB / 0.5246 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.01869, allocations: 3.984 kB / 0.5246 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.01907, allocations: 42.77 kB / 0.5246 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.01907, allocations: 3.938 kB / 0.5246 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.01909, allocations: 5.578 kB / 0.5246 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01909, allocations: 0 / 0.5246 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01909, allocations: 4 kB / 0.5246 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.02041, allocations: 304.5 kB / 0.5249 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.02042, allocations: 64 / 0.5249 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.02045, allocations: 9.562 kB / 0.5249 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.02081, allocations: 42.17 kB / 0.525 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.02083, allocations: 4.703 kB / 0.525 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.02086, allocations: 4 kB / 0.525 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.551e-05/0.0209, allocations: 75.78 kB / 0.5251 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.0209, allocations: 0.875 kB / 0.5251 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002527/0.02115, allocations: 8 kB / 0.5251 GB, free: 12.89 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.0002152/0.02137, allocations: 104.6 kB / 0.5252 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.02263, allocations: 182 kB / 0.5253 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.02263, allocations: 4 kB / 0.5253 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005912/0.02322, allocations: 86.27 kB / 0.5254 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.02346, allocations: 7.984 kB / 0.5254 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.02465, allocations: 223.9 kB / 0.5257 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.93e-05/0.02472, allocations: 55.36 kB / 0.5257 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002099/0.02493, allocations: 31.94 kB / 0.5257 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.025, allocations: 16.48 kB / 0.5258 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of SimCode: time 8.11e-07/0.025, allocations: 0 / 0.5258 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of Templates: time 0.003469/0.02847, allocations: 0.8402 MB / 0.5266 GB, free: 11.36 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.903765160008334]