Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.001884/0.001884, 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.002009/0.002009, 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.59/1.59, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.32/1.32, allocations: 154.6 MB / 414.2 MB, free: 0.6406 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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.5196 GB, free: 1.473 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.562e-05, allocations: 8.812 kB / 0.5196 GB, free: 1.469 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.003265/0.003301, allocations: 1.461 MB / 0.5211 GB, free: 16 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.004365, allocations: 498.2 kB / 0.5215 GB, free: 15.53 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.004406, allocations: 0 / 0.5215 GB, free: 15.53 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.004431, allocations: 0 / 0.5215 GB, free: 15.53 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.059e-05/0.004511, allocations: 7.922 kB / 0.5215 GB, free: 15.52 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.004736, allocations: 16.55 kB / 0.5215 GB, free: 15.51 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.849e-05/0.004824, allocations: 36.41 kB / 0.5216 GB, free: 15.47 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.271e-05/0.004917, allocations: 0.7188 kB / 0.5216 GB, free: 15.47 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.472e-05/0.005012, allocations: 19.92 kB / 0.5216 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.107e-05/0.005053, allocations: 4.625 kB / 0.5216 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.005068, allocations: 4 kB / 0.5216 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.145e-05/0.005139, allocations: 13.45 kB / 0.5216 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.323e-05/0.005172, allocations: 11.94 kB / 0.5216 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.005197, allocations: 7.984 kB / 0.5216 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.005329, allocations: 35.89 kB / 0.5217 GB, free: 15.38 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.005331, allocations: 0.9375 kB / 0.5217 GB, free: 15.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005332, allocations: 0 / 0.5217 GB, free: 15.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.005338, allocations: 1.406 kB / 0.5217 GB, free: 15.38 MB / 458.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.0005214/0.005859, allocations: 360.2 kB / 0.522 GB, free: 14.99 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.005904, allocations: 12.02 kB / 0.522 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.005951, allocations: 8.891 kB / 0.522 GB, free: 14.97 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.006079, allocations: 113.7 kB / 0.5222 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.006102, allocations: 384 / 0.5222 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.00611, allocations: 4.312 kB / 0.5222 GB, free: 14.83 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.006262, allocations: 43.06 kB / 0.5222 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.006275, allocations: 8.172 kB / 0.5222 GB, free: 14.78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.006283, allocations: 1.656 kB / 0.5222 GB, free: 14.78 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.00629, allocations: 3.938 kB / 0.5222 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.006401, allocations: 21.33 kB / 0.5222 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.006782, allocations: 251.8 kB / 0.5225 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.006901, allocations: 42.98 kB / 0.5225 GB, free: 14.42 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.006968, allocations: 20.53 kB / 0.5225 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.007082, allocations: 9.828 kB / 0.5225 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.007127, allocations: 41.33 kB / 0.5226 GB, free: 14.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.007128, allocations: 0 / 0.5226 GB, free: 14.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002984/0.007426, allocations: 73.56 kB / 0.5227 GB, free: 14.26 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.007471, allocations: 53.47 kB / 0.5227 GB, free: 14.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.007605, allocations: 165.9 kB / 0.5229 GB, free: 14.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.007624, allocations: 25.7 kB / 0.5229 GB, free: 13.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.007708, allocations: 134.9 kB / 0.523 GB, free: 13.85 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.007734, allocations: 11.88 kB / 0.523 GB, free: 13.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.007772, allocations: 20.84 kB / 0.523 GB, free: 13.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002886/0.008061, allocations: 0.4884 MB / 0.5235 GB, free: 13.31 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.238e-05/0.008113, allocations: 7.984 kB / 0.5235 GB, free: 13.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.554e-05/0.008159, allocations: 12.97 kB / 0.5235 GB, free: 13.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.008261, allocations: 32.64 kB / 0.5236 GB, free: 13.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.008263, allocations: 0 / 0.5236 GB, free: 13.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000144/0.008407, allocations: 58.8 kB / 0.5236 GB, free: 13.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.008425, allocations: 11.94 kB / 0.5236 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.008429, allocations: 0 / 0.5236 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.008444, allocations: 0.6875 kB / 0.5236 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.008516, allocations: 4.5 kB / 0.5236 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.008522, allocations: 0 / 0.5236 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.008555, allocations: 8.922 kB / 0.5237 GB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-06/0.008561, allocations: 0 / 0.5237 GB, free: 13.17 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001188/0.008679, allocations: 161.8 kB / 0.5238 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.008705, allocations: 7.891 kB / 0.5238 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.008895, allocations: 65.44 kB / 0.5239 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.008896, allocations: 1.781 kB / 0.5239 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.0089, allocations: 7.938 kB / 0.5239 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.008903, allocations: 3.938 kB / 0.5239 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.009058, allocations: 116.6 kB / 0.524 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.009059, allocations: 0 / 0.524 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.009099, allocations: 5.719 kB / 0.524 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.009101, allocations: 0 / 0.524 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.00911, allocations: 7.938 kB / 0.524 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.009112, allocations: 0 / 0.524 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.009113, allocations: 0.9688 kB / 0.524 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.009352, allocations: 200.9 kB / 0.5242 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-06/0.009359, allocations: 0 / 0.5242 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.009376, allocations: 7.938 kB / 0.5242 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.369e-05/0.00943, allocations: 3.156 kB / 0.5242 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.009479, allocations: 7.984 kB / 0.5242 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-06/0.009484, allocations: 8 kB / 0.5242 GB, free: 12.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.496e-05/0.009559, allocations: 123.2 kB / 0.5243 GB, free: 12.39 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009559, allocations: 0 / 0.5243 GB, free: 12.39 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002038/0.009763, allocations: 7.938 kB / 0.5244 GB, free: 12.39 MB / 458.7 MB 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 (2): * Single equations (assignments): 2 * 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.0002028/0.009966, allocations: 109.9 kB / 0.5245 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.01014, allocations: 31.67 kB / 0.5245 GB, free: 12.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01014, allocations: 0 / 0.5245 GB, free: 12.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-05/0.01021, allocations: 19.69 kB / 0.5245 GB, free: 12.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.01047, allocations: 14.48 kB / 0.5245 GB, free: 12.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.0108, allocations: 111.1 kB / 0.5246 GB, free: 12.06 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.412e-05/0.01087, allocations: 68.67 kB / 0.5247 GB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.123e-05/0.0109, allocations: 7.984 kB / 0.5247 GB, free: 11.97 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.01093, allocations: 9.812 kB / 0.5247 GB, free: 11.96 MB / 458.7 MB Notification: Performance of SimCode: time 4.4e-07/0.01093, allocations: 0 / 0.5247 GB, free: 11.96 MB / 458.7 MB Notification: Performance of Templates: time 0.003527/0.01445, allocations: 0.61 MB / 0.5253 GB, free: 11.39 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.884996325010434]