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.00134/0.00134, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.00139/0.00139, allocations: 165.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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-531:686: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-531:694: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.22/1.22, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 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 2.174e-06/2.174e-06, allocations: 0 / 0.6186 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.227e-05/4.444e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001818/0.001862, allocations: 0.6006 MB / 0.6192 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.003608, allocations: 1.132 MB / 0.6203 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.003644, allocations: 0 / 0.6203 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.003661, allocations: 0 / 0.6203 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.003919, allocations: 15.92 kB / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.018e-06/0.003923, allocations: 0 / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.279e-05/0.003976, allocations: 7.984 kB / 0.6204 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.663e-05/0.004032, allocations: 0 / 0.6204 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.113e-05/0.004064, allocations: 11.88 kB / 0.6204 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.172e-05/0.004085, allocations: 4 kB / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.004095, allocations: 7.938 kB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.004207, allocations: 15.97 kB / 0.6204 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.004217, allocations: 0 / 0.6204 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.477e-05/0.004232, allocations: 3.938 kB / 0.6204 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.881e-05/0.00433, allocations: 19.92 kB / 0.6204 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.004333, allocations: 0 / 0.6204 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.01e-07/0.004333, allocations: 0 / 0.6204 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.004343, allocations: 0 / 0.6204 GB, free: 2.664 MB / 0.5294 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.0003652/0.004708, allocations: 238.4 kB / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.004756, allocations: 12.03 kB / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.00479, allocations: 8.922 kB / 0.6207 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.004901, allocations: 105.8 kB / 0.6208 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.004911, allocations: 384 / 0.6208 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.004944, allocations: 4.375 kB / 0.6208 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.005063, allocations: 34.2 kB / 0.6208 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.00508, allocations: 4.172 kB / 0.6208 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.005089, allocations: 384 / 0.6208 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.005096, allocations: 3.938 kB / 0.6208 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.12e-05/0.005138, allocations: 8 kB / 0.6208 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.00529, allocations: 97.33 kB / 0.6209 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.005481, allocations: 34.61 kB / 0.6209 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.005502, allocations: 12.8 kB / 0.621 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.005615, allocations: 8.078 kB / 0.621 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.005643, allocations: 38.56 kB / 0.621 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005644, allocations: 0 / 0.621 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.004466/0.01011, allocations: 0.5715 MB / 0.6216 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.01015, allocations: 51.41 kB / 0.6216 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.959e-05/0.0102, allocations: 93.86 kB / 0.6217 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.01023, allocations: 25.7 kB / 0.6217 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.01027, allocations: 84.14 kB / 0.6218 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.01032, allocations: 19.78 kB / 0.6218 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/0.01039, allocations: 25.7 kB / 0.6219 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.01054, allocations: 318.8 kB / 0.6222 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006394/0.01118, allocations: 83.95 kB / 0.6222 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/0.01181, allocations: 102.5 kB / 0.6223 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.01306, allocations: 186.4 kB / 0.6225 GB, free: 352 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01306, allocations: 0 / 0.6225 GB, free: 352 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001334/0.0144, allocations: 217.6 kB / 0.6227 GB, free: 128 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.01441, allocations: 4 kB / 0.6227 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01442, allocations: 0 / 0.6227 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.01443, allocations: 32 / 0.6227 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.01484, allocations: 59.84 kB / 0.6228 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01485, allocations: 0 / 0.6228 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.01521, allocations: 43.97 kB / 0.6228 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.01523, allocations: 4.188 kB / 0.6228 GB, free: 16 kB / 0.5294 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.0001169/0.01535, allocations: 118.8 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.01536, allocations: 0 / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.01681, allocations: 237.2 kB / 0.6232 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01681, allocations: 0 / 0.6232 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.01682, allocations: 3.938 kB / 0.6232 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01682, allocations: 3.984 kB / 0.6232 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.01838, allocations: 402.1 kB / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01839, allocations: 0 / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004059/0.01879, allocations: 51.97 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.0188, allocations: 3.938 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.01881, allocations: 0 / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01881, allocations: 0 / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01882, allocations: 3.984 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.02021, allocations: 295.5 kB / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.02023, allocations: 7.984 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.02025, allocations: 11.88 kB / 0.6239 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.02064, allocations: 35.98 kB / 0.6239 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.02066, allocations: 8 kB / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.02067, allocations: 3.984 kB / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.02071, allocations: 79.31 kB / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.02071, allocations: 0 / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000256/0.02097, allocations: 12 kB / 0.624 GB, free: 14.7 MB / 0.545 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.0002257/0.02119, allocations: 103.1 kB / 0.6241 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.02255, allocations: 183.8 kB / 0.6243 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02255, allocations: 4.188 kB / 0.6243 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006482/0.0232, allocations: 84.14 kB / 0.6244 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.02342, allocations: 6.188 kB / 0.6244 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.02466, allocations: 228.7 kB / 0.6246 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.028e-05/0.02472, allocations: 59.34 kB / 0.6247 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001736/0.0249, allocations: 32 kB / 0.6247 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.02497, allocations: 12.5 kB / 0.6247 GB, free: 13.94 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.02497, allocations: 0 / 0.6247 GB, free: 13.94 MB / 0.545 GB Notification: Performance of Templates: time 0.003395/0.02836, allocations: 0.8228 MB / 0.6255 GB, free: 13.14 MB / 0.545 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.7451263554394245] Failed to read output from testmodel.py, exit status != 0: 0.03730309382081032 0.051581539 0.044225842 Calling exit ...