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.001419/0.001419, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001648/0.001648, allocations: 173 kB / 23.49 MB, free: 1.059 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.942/0.942, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.7949/0.7949, allocations: 154.6 MB / 414.8 MB, free: 0.6992 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 2.224e-06/2.224e-06, allocations: 0 / 0.5204 GB, free: 2.465 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.834e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.461 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001362/0.001381, allocations: 0.6081 MB / 0.521 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.002802, allocations: 1.158 MB / 0.5221 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.002831, allocations: 0 / 0.5221 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.002849, allocations: 0 / 0.5221 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.003096, allocations: 19.86 kB / 0.5221 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.008e-06/0.0031, allocations: 4.688 kB / 0.5221 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.535e-05/0.003145, allocations: 3.938 kB / 0.5221 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.003191, allocations: 4.719 kB / 0.5221 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.69e-05/0.003218, allocations: 4 kB / 0.5222 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.827e-05/0.003246, allocations: 4.484 kB / 0.5222 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.003256, allocations: 0.7812 kB / 0.5222 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.003366, allocations: 15.92 kB / 0.5222 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.003378, allocations: 5.438 kB / 0.5222 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.233e-05/0.003391, allocations: 0 / 0.5222 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.342e-05/0.003474, allocations: 11.98 kB / 0.5222 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.003476, allocations: 0 / 0.5222 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.003477, allocations: 0.7812 kB / 0.5222 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.003481, allocations: 0 / 0.5222 GB, free: 0.6289 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.0002764/0.003757, allocations: 345.1 kB / 0.5225 GB, free: 264 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.003802, allocations: 8.031 kB / 0.5225 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.003846, allocations: 8.938 kB / 0.5225 GB, free: 248 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.662e-05/0.003923, allocations: 119.6 kB / 0.5227 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.003935, allocations: 384 / 0.5227 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.003962, allocations: 4.375 kB / 0.5227 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.367e-05/0.004055, allocations: 30.25 kB / 0.5227 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.004067, allocations: 4.188 kB / 0.5227 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.004078, allocations: 4.375 kB / 0.5227 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.004088, allocations: 3.938 kB / 0.5227 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.334e-05/0.004121, allocations: 7.984 kB / 0.5227 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.004259, allocations: 105.1 kB / 0.5228 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.004437, allocations: 47.97 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.00446, allocations: 15.69 kB / 0.5229 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.004565, allocations: 4.656 kB / 0.5229 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.004589, allocations: 33.39 kB / 0.5229 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.00459, allocations: 0.9688 kB / 0.5229 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.001432/0.006022, allocations: 285.7 kB / 0.5232 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.006055, allocations: 51.41 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.66e-05/0.006102, allocations: 146.2 kB / 0.5234 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.00612, allocations: 26.61 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.006154, allocations: 126.9 kB / 0.5235 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.006189, allocations: 11.91 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.006245, allocations: 32.11 kB / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.006376, allocations: 492.1 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.001e-05/0.006426, allocations: 6.344 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.006494, allocations: 40.52 kB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.006607, allocations: 45.47 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.006608, allocations: 0 / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001669/0.006775, allocations: 59.94 kB / 0.5242 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.00679, allocations: 8 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.006794, allocations: 0.5625 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.006807, allocations: 0 / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.007, allocations: 43.91 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.007006, allocations: 0 / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.007138, allocations: 18.44 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.007153, allocations: 7.984 kB / 0.5242 GB, free: 14.35 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.997e-05/0.007233, allocations: 156.6 kB / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.007258, allocations: 7.953 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.007492, allocations: 84.48 kB / 0.5245 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.007495, allocations: 2.5 kB / 0.5245 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.007499, allocations: 3.938 kB / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.007505, allocations: 3.984 kB / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.007892, allocations: 307.6 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.007894, allocations: 320 / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.008082, allocations: 30.77 kB / 0.5248 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.008087, allocations: 7.938 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.008101, allocations: 0 / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.008103, allocations: 1.469 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.008104, allocations: 0 / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.008313, allocations: 207 kB / 0.525 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.00832, allocations: 3.984 kB / 0.525 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.00834, allocations: 3.938 kB / 0.525 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.008507, allocations: 18.94 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.008528, allocations: 11.98 kB / 0.5251 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.008538, allocations: 0 / 0.5251 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.008572, allocations: 119.7 kB / 0.5252 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.008572, allocations: 0 / 0.5252 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002742/0.008847, allocations: 13.69 kB / 0.5252 GB, free: 13.34 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.0001427/0.008989, allocations: 99.23 kB / 0.5253 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.009179, allocations: 40.92 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.009181, allocations: 0 / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.267e-05/0.009243, allocations: 19.69 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.009483, allocations: 11.62 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.009928, allocations: 130 kB / 0.5255 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.775e-05/0.009976, allocations: 58.75 kB / 0.5255 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001571/0.01013, allocations: 30.61 kB / 0.5256 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.0102, allocations: 13.44 kB / 0.5256 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.0102, allocations: 0 / 0.5256 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of Templates: time 0.003001/0.0132, allocations: 0.8508 MB / 0.5264 GB, free: 12.11 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.8303111479617655]