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.0009284/0.0009284, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001413/0.002341, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008313/0.0008313, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001133/0.001964, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9877/0.9877, allocations: 177.1 MB / 189.6 MB, free: 5.336 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0859/1.074, allocations: 53.66 MB / 243.2 MB, free: 15.61 MB / 250.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.7597/0.7597, allocations: 154.6 MB / 398.5 MB, free: 0.5625 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2544/1.014, allocations: 49.05 MB / 447.6 MB, free: 6.73 MB / 426.7 MB " [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.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.623e-06/1.623e-06, allocations: 0.6562 kB / 448.9 MB, free: 5.434 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.483e-05, allocations: 8.141 kB / 448.9 MB, free: 5.426 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002863/0.002888, allocations: 1.542 MB / 450.4 MB, free: 3.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005224/0.00341, allocations: 495.8 kB / 450.9 MB, free: 3.426 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.003435, allocations: 4.625 kB / 450.9 MB, free: 3.422 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.003455, allocations: 4.75 kB / 450.9 MB, free: 3.418 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.313e-05/0.003488, allocations: 6.531 kB / 450.9 MB, free: 3.414 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.742e-05/0.003586, allocations: 24.41 kB / 451 MB, free: 3.391 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.481e-05/0.00365, allocations: 21.97 kB / 451 MB, free: 3.375 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.638e-05/0.003717, allocations: 8.75 kB / 451 MB, free: 3.367 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.226e-05/0.003789, allocations: 22.17 kB / 451 MB, free: 3.348 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.602e-05/0.003825, allocations: 10.09 kB / 451 MB, free: 3.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.003837, allocations: 0 / 451 MB, free: 3.34 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.613e-05/0.003923, allocations: 25.67 kB / 451 MB, free: 3.316 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.003935, allocations: 0.7656 kB / 451 MB, free: 3.316 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.56e-05/0.003951, allocations: 5.531 kB / 451.1 MB, free: 3.312 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.366e-05/0.004044, allocations: 21.95 kB / 451.1 MB, free: 3.293 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.428e-05/0.004059, allocations: 1.938 kB / 451.1 MB, free: 3.293 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004059, allocations: 0 / 451.1 MB, free: 3.293 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.004075, allocations: 0 / 451.1 MB, free: 3.293 MB / 426.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.0003042/0.004379, allocations: 243.2 kB / 451.3 MB, free: 3.035 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.004407, allocations: 12.03 kB / 451.3 MB, free: 3.023 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.004428, allocations: 3.484 kB / 451.3 MB, free: 3.023 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.392e-05/0.004502, allocations: 113.7 kB / 451.4 MB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.004511, allocations: 384 / 451.4 MB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/0.004517, allocations: 384 / 451.4 MB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.844e-05/0.004616, allocations: 60.56 kB / 451.5 MB, free: 2.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.004623, allocations: 5.906 kB / 451.5 MB, free: 2.816 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-06/0.004629, allocations: 384 / 451.5 MB, free: 2.816 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.004637, allocations: 7.938 kB / 451.5 MB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.781e-05/0.004654, allocations: 0 / 451.5 MB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.004837, allocations: 140.9 kB / 451.7 MB, free: 2.656 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.045e-05/0.004887, allocations: 24.03 kB / 451.7 MB, free: 2.625 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.0049, allocations: 13.88 kB / 451.7 MB, free: 2.609 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.684e-05/0.004987, allocations: 11.28 kB / 451.7 MB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.005011, allocations: 34.5 kB / 451.7 MB, free: 2.559 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.005012, allocations: 5.969 kB / 451.7 MB, free: 2.555 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001096/0.005121, allocations: 34.95 kB / 451.8 MB, free: 2.516 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.005155, allocations: 55.41 kB / 451.8 MB, free: 2.449 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.821e-05/0.005213, allocations: 102.7 kB / 451.9 MB, free: 2.336 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.005222, allocations: 26.33 kB / 452 MB, free: 2.305 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.955e-05/0.005252, allocations: 92.12 kB / 452 MB, free: 2.211 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.005266, allocations: 4.891 kB / 452 MB, free: 2.207 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.005288, allocations: 13.7 kB / 452.1 MB, free: 2.188 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.468e-05/0.005352, allocations: 317.5 kB / 452.4 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-06/0.00536, allocations: 0 / 452.4 MB, free: 1.871 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-06/0.005368, allocations: 7.938 kB / 452.4 MB, free: 1.863 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.995e-05/0.005388, allocations: 8.859 kB / 452.4 MB, free: 1.852 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.00539, allocations: 0.9062 kB / 452.4 MB, free: 1.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.978e-05/0.00543, allocations: 38.59 kB / 452.4 MB, free: 1.809 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.005442, allocations: 4 kB / 452.4 MB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.005447, allocations: 4 kB / 452.4 MB, free: 1.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.005457, allocations: 4.531 kB / 452.4 MB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.005526, allocations: 13.95 kB / 452.5 MB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.005529, allocations: 0.7656 kB / 452.5 MB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.367e-05/0.005542, allocations: 0 / 452.5 MB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.005547, allocations: 0.625 kB / 452.5 MB, free: 1.785 MB / 426.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 5.704e-05/0.005604, allocations: 118.4 kB / 452.6 MB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.005622, allocations: 0 / 452.6 MB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.091e-05/0.005693, allocations: 41.62 kB / 452.6 MB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.005695, allocations: 4.562 kB / 452.6 MB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.005697, allocations: 1.719 kB / 452.6 MB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.005701, allocations: 3.984 kB / 452.6 MB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.005806, allocations: 66.52 kB / 452.7 MB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.005807, allocations: 0 / 452.7 MB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.005847, allocations: 8.594 kB / 452.7 MB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.005856, allocations: 11.61 kB / 452.7 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.005857, allocations: 0 / 452.7 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-06/0.005861, allocations: 1.781 kB / 452.7 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.005863, allocations: 3.938 kB / 452.7 MB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.005866, allocations: 4 kB / 452.7 MB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.81e-05/0.005934, allocations: 136.7 kB / 452.8 MB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-06/0.005941, allocations: 0 / 452.8 MB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.855e-05/0.00597, allocations: 4.781 kB / 452.9 MB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.005993, allocations: 3.938 kB / 452.9 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.005996, allocations: 4.984 kB / 452.9 MB, free: 1.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.098e-05/0.006007, allocations: 8.859 kB / 452.9 MB, free: 1.328 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006007, allocations: 0.75 kB / 452.9 MB, free: 1.328 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001126/0.00612, allocations: 7.938 kB / 452.9 MB, free: 1.32 MB / 426.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 9.338e-05/0.006213, allocations: 85.62 kB / 453 MB, free: 1.227 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.118e-05/0.006264, allocations: 17.41 kB / 453 MB, free: 1.207 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.006268, allocations: 4.812 kB / 453 MB, free: 1.203 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/0.00628, allocations: 9.984 kB / 453 MB, free: 1.191 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.00642, allocations: 4.812 kB / 453 MB, free: 1.188 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.006714, allocations: 108.8 kB / 453.1 MB, free: 1.059 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.825e-05/0.006742, allocations: 60.48 kB / 453.2 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.843e-05/0.006761, allocations: 8 kB / 453.2 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.006797, allocations: 55.81 kB / 453.2 MB, free: 0.918 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.006797, allocations: 0 / 453.2 MB, free: 0.918 MB / 426.7 MB Notification: Performance of Templates: time 0.001923/0.00872, allocations: 0.6188 MB / 453.8 MB, free: 348 kB / 426.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: 3.381837971508503]