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.001831/0.001831, allocations: 85.48 kB / 19.44 MB, free: 344 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.00198/0.00198, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.521/1.521, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.344/1.344, allocations: 154.6 MB / 414.1 MB, free: 0.6328 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.663e-06/1.663e-06, allocations: 0 / 0.5197 GB, free: 2.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.455e-05, allocations: 7.375 kB / 0.5197 GB, free: 2.473 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001809/0.001844, allocations: 0.6092 MB / 0.5203 GB, free: 1.883 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.003679, allocations: 1.138 MB / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.003709, allocations: 0 / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.401e-05/0.003723, allocations: 0 / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.004005, allocations: 29.02 kB / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.028e-06/0.004009, allocations: 0 / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.03e-05/0.00405, allocations: 0 / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.0041, allocations: 0.625 kB / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.004141, allocations: 9.609 kB / 0.5214 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.102e-05/0.004172, allocations: 3.938 kB / 0.5214 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.004186, allocations: 3.984 kB / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.004312, allocations: 12 kB / 0.5214 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.004322, allocations: 0 / 0.5214 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.179e-05/0.004334, allocations: 4.969 kB / 0.5214 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.068e-05/0.004424, allocations: 11.98 kB / 0.5215 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.004428, allocations: 0 / 0.5215 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004429, allocations: 4.812 kB / 0.5215 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.004433, allocations: 0 / 0.5215 GB, free: 0.6562 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.0003968/0.00483, allocations: 349.6 kB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.004871, allocations: 8.031 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.00491, allocations: 0.9375 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.005026, allocations: 109.4 kB / 0.5219 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.005041, allocations: 4.375 kB / 0.5219 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.005062, allocations: 0.9062 kB / 0.5219 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.005177, allocations: 34.25 kB / 0.5219 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.005189, allocations: 1.062 kB / 0.5219 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.005198, allocations: 384 / 0.5219 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.005205, allocations: 12.47 kB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.433e-05/0.005249, allocations: 7.984 kB / 0.522 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.005439, allocations: 109.1 kB / 0.5221 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.005658, allocations: 43.94 kB / 0.5221 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.005686, allocations: 11.69 kB / 0.5221 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.005798, allocations: 7.062 kB / 0.5221 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.005835, allocations: 37.47 kB / 0.5222 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 3.366e-06/0.005838, allocations: 11.92 kB / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.002844/0.008682, allocations: 350.6 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.008735, allocations: 55.41 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.435e-05/0.00882, allocations: 142.2 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.008848, allocations: 29.7 kB / 0.5227 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.008928, allocations: 130.9 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.008971, allocations: 14.84 kB / 0.5229 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-05/0.009046, allocations: 27.36 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002866/0.009333, allocations: 492.1 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.009678, allocations: 52.28 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.01005, allocations: 65.67 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006987/0.01075, allocations: 130.5 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01075, allocations: 0 / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0007865/0.01153, allocations: 136.6 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.01155, allocations: 9.062 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.01156, allocations: 0 / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.01158, allocations: 0 / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.01186, allocations: 41.58 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.01186, allocations: 1.344 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.01209, allocations: 21.8 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.01211, allocations: 4 kB / 0.5238 GB, free: 14.09 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.0001332/0.01224, allocations: 157.5 kB / 0.524 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.01227, allocations: 7.938 kB / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008724/0.01314, allocations: 160.8 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.01314, allocations: 0 / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.01315, allocations: 10.19 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.01316, allocations: 3.984 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.01425, allocations: 375.7 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01425, allocations: 0 / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.01451, allocations: 25.39 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.01451, allocations: 5.031 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.01453, allocations: 7.984 kB / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01453, allocations: 0 / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01453, allocations: 0.875 kB / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008601/0.01539, allocations: 278.4 kB / 0.5248 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.0154, allocations: 15.52 kB / 0.5248 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.01543, allocations: 3.938 kB / 0.5248 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.01567, allocations: 16 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.0157, allocations: 7.984 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.01571, allocations: 0 / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.572e-05/0.01578, allocations: 119.8 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01578, allocations: 0 / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002529/0.01603, allocations: 16.62 kB / 0.525 GB, free: 12.87 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.0002144/0.01624, allocations: 102.1 kB / 0.5251 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007994/0.01704, allocations: 113.2 kB / 0.5252 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01705, allocations: 0 / 0.5252 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.01741, allocations: 63.84 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.01766, allocations: 7.312 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008624/0.01852, allocations: 167.9 kB / 0.5254 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.842e-05/0.0186, allocations: 59.36 kB / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001884/0.01879, allocations: 31.45 kB / 0.5255 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.01886, allocations: 12.5 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.01886, allocations: 4.781 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.0042/0.02306, allocations: 0.8555 MB / 0.5263 GB, free: 11.49 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: 6.025560791022144]