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.0008349/0.0008349, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.001002/0.001002, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.882/0.882, allocations: 177.1 MB / 203.5 MB, free: 5.73 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-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 0.715/0.715, allocations: 154.6 MB / 414.5 MB, free: 0.7773 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.362e-06/1.362e-06, allocations: 0 / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.831e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001215/0.001243, allocations: 0.607 MB / 0.62 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.002419, allocations: 1.124 MB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.002445, allocations: 0 / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.002462, allocations: 0 / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.002759, allocations: 31.78 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.649e-06/0.002764, allocations: 4 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.37e-05/0.002808, allocations: 4 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.002852, allocations: 0 / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.991e-05/0.002882, allocations: 3.984 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.603e-05/0.002908, allocations: 4 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.002917, allocations: 3.938 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.003025, allocations: 15.94 kB / 0.6212 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.507e-06/0.003034, allocations: 0 / 0.6212 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.329e-05/0.003048, allocations: 0 / 0.6212 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.134e-05/0.003139, allocations: 15.91 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.003143, allocations: 4 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.463e-06/0.003144, allocations: 4 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.003148, allocations: 0 / 0.6212 GB, free: 11.28 MB / 0.5886 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.0002524/0.003401, allocations: 246.3 kB / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.003438, allocations: 8.031 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.003473, allocations: 4.938 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.264e-05/0.003536, allocations: 101.8 kB / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.003547, allocations: 384 / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003227/0.003869, allocations: 4.375 kB / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.152e-05/0.003961, allocations: 38.25 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.003971, allocations: 192 / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.00398, allocations: 4.375 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.003988, allocations: 3.938 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.887e-05/0.004027, allocations: 11.92 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001062/0.004134, allocations: 101.3 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.004312, allocations: 30.61 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.00433, allocations: 8.859 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.004432, allocations: 4 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.004452, allocations: 38.64 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.004453, allocations: 0 / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.001924/0.006377, allocations: 0.5754 MB / 0.6223 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.006414, allocations: 51.41 kB / 0.6224 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.005e-05/0.006444, allocations: 89.86 kB / 0.6225 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.006463, allocations: 25.7 kB / 0.6225 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.036e-05/0.006484, allocations: 88.08 kB / 0.6226 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.006524, allocations: 15.84 kB / 0.6226 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.006567, allocations: 21.7 kB / 0.6226 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.006648, allocations: 314.8 kB / 0.6229 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.006903, allocations: 79.95 kB / 0.623 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.007151, allocations: 106.5 kB / 0.6231 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.007635, allocations: 190.4 kB / 0.6233 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.007636, allocations: 3.938 kB / 0.6233 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005243/0.00816, allocations: 213.6 kB / 0.6235 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.008179, allocations: 8 kB / 0.6235 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.008184, allocations: 0 / 0.6235 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.008198, allocations: 0 / 0.6235 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.00837, allocations: 55.94 kB / 0.6235 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.008377, allocations: 0 / 0.6235 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.008516, allocations: 43.92 kB / 0.6236 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.008526, allocations: 3.984 kB / 0.6236 GB, free: 8.637 MB / 0.5886 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.054e-05/0.008596, allocations: 114.8 kB / 0.6237 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.008607, allocations: 432 / 0.6237 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006127/0.00922, allocations: 245.3 kB / 0.6239 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.009223, allocations: 0 / 0.6239 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.009229, allocations: 3.938 kB / 0.6239 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.009234, allocations: 3.984 kB / 0.6239 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007281/0.009963, allocations: 402.1 kB / 0.6243 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.009964, allocations: 0 / 0.6243 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.01012, allocations: 51.91 kB / 0.6244 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01012, allocations: 7.938 kB / 0.6244 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.01013, allocations: 4 kB / 0.6244 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01014, allocations: 0 / 0.6244 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01014, allocations: 4 kB / 0.6244 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005496/0.01069, allocations: 299.5 kB / 0.6247 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.01069, allocations: 0 / 0.6247 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.01071, allocations: 7.938 kB / 0.6247 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.01086, allocations: 39.97 kB / 0.6247 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.01088, allocations: 4 kB / 0.6247 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.01088, allocations: 0 / 0.6247 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.349e-05/0.01091, allocations: 75.28 kB / 0.6248 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01091, allocations: 0 / 0.6248 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001684/0.01108, allocations: 16 kB / 0.6248 GB, free: 7.312 MB / 0.5886 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.0001553/0.01123, allocations: 111.1 kB / 0.6249 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005492/0.01178, allocations: 172 kB / 0.6251 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.01178, allocations: 0 / 0.6251 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.01202, allocations: 96 kB / 0.6252 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.01218, allocations: 8 kB / 0.6252 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.01277, allocations: 238.9 kB / 0.6254 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.147e-05/0.01281, allocations: 55.36 kB / 0.6254 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.01287, allocations: 20.48 kB / 0.6255 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of SimCode: time 8.12e-07/0.01287, allocations: 0 / 0.6255 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of Templates: time 0.002105/0.01498, allocations: 1.118 MB / 0.6266 GB, free: 5.465 MB / 0.5886 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: 4.825933764688671] Failed to read output from testmodel.py, exit status != 0: 0.02046749647706747 0.029367209000000002 0.02460679 Calling exit ...