Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009639/0.0009639, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001281/0.002245, 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.001097/0.001097, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001299/0.002396, 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 1.01/1.01, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09296/1.103, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7604/0.7604, allocations: 155.3 MB / 399.3 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/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.2907/1.051, allocations: 49.13 MB / 448.4 MB, free: 6 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-master/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_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 449.7 MB, free: 4.707 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.228e-05, allocations: 3.984 kB / 449.7 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002803/0.002825, allocations: 1.549 MB / 451.3 MB, free: 3.176 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008091/0.003634, allocations: 499 kB / 451.7 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.003669, allocations: 8.531 kB / 451.7 MB, free: 2.684 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.003693, allocations: 0.6562 kB / 451.8 MB, free: 2.684 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.003734, allocations: 3.125 kB / 451.8 MB, free: 2.684 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.003873, allocations: 28.52 kB / 451.8 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.454e-05/0.003948, allocations: 24.91 kB / 451.8 MB, free: 2.637 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.903e-05/0.004027, allocations: 9.141 kB / 451.8 MB, free: 2.629 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.004131, allocations: 21.48 kB / 451.8 MB, free: 2.613 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.644e-05/0.004177, allocations: 10.28 kB / 451.8 MB, free: 2.605 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.004192, allocations: 4.875 kB / 451.9 MB, free: 2.602 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.74e-05/0.00428, allocations: 12.59 kB / 451.9 MB, free: 2.59 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.004295, allocations: 5.641 kB / 451.9 MB, free: 2.586 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.004312, allocations: 5.656 kB / 451.9 MB, free: 2.582 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.004425, allocations: 21.84 kB / 451.9 MB, free: 2.562 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-05/0.004443, allocations: 4.734 kB / 451.9 MB, free: 2.559 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004444, allocations: 0 / 451.9 MB, free: 2.559 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.004464, allocations: 7.031 kB / 451.9 MB, free: 2.555 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.0004012/0.004865, allocations: 239.7 kB / 452.1 MB, free: 2.301 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.004901, allocations: 8.031 kB / 452.1 MB, free: 2.293 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.005193, allocations: 98.02 kB / 452.2 MB, free: 2.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.616e-05/0.005289, allocations: 109.7 kB / 452.4 MB, free: 2.047 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.005302, allocations: 4.375 kB / 452.4 MB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.00531, allocations: 1.5 kB / 452.4 MB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.005433, allocations: 55.59 kB / 452.4 MB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.005441, allocations: 4.125 kB / 452.4 MB, free: 1.977 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.005449, allocations: 1.281 kB / 452.4 MB, free: 1.977 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.005456, allocations: 5.031 kB / 452.4 MB, free: 1.973 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.464e-05/0.00549, allocations: 7.422 kB / 452.4 MB, free: 1.969 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.005765, allocations: 156.3 kB / 452.6 MB, free: 1.801 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.05e-05/0.005825, allocations: 22.58 kB / 452.6 MB, free: 1.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.005841, allocations: 4.859 kB / 452.6 MB, free: 1.762 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.00586, allocations: 0.875 kB / 452.6 MB, free: 1.762 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.005886, allocations: 38.56 kB / 452.6 MB, free: 1.715 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.005887, allocations: 1.281 kB / 452.6 MB, free: 1.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001439/0.006031, allocations: 45.62 kB / 452.7 MB, free: 1.664 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.006067, allocations: 51.41 kB / 452.7 MB, free: 1.602 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.324e-05/0.00613, allocations: 108.3 kB / 452.8 MB, free: 1.484 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.006141, allocations: 25.7 kB / 452.9 MB, free: 1.453 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/0.006176, allocations: 85.72 kB / 453 MB, free: 1.367 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.006197, allocations: 7.953 kB / 453 MB, free: 1.359 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.006231, allocations: 9.719 kB / 453 MB, free: 1.344 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.006324, allocations: 318.8 kB / 453.3 MB, free: 1.023 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.006336, allocations: 1.031 kB / 453.3 MB, free: 1.023 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.522e-05/0.006351, allocations: 12.91 kB / 453.3 MB, free: 1.012 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/0.006384, allocations: 13.67 kB / 453.3 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006386, allocations: 0 / 453.3 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.496e-05/0.006451, allocations: 38.56 kB / 453.4 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.006466, allocations: 8 kB / 453.4 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.006471, allocations: 0.7188 kB / 453.4 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.006483, allocations: 4.188 kB / 453.4 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.694e-05/0.00658, allocations: 9.156 kB / 453.4 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.006584, allocations: 4 kB / 453.4 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.433e-05/0.006618, allocations: 6.469 kB / 453.4 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.006623, allocations: 4 kB / 453.4 MB, free: 0.9219 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 6.182e-05/0.006685, allocations: 109.8 kB / 453.5 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.006707, allocations: 0 / 453.5 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.006742, allocations: 8.156 kB / 453.5 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.006746, allocations: 5.844 kB / 453.5 MB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.006748, allocations: 0.7812 kB / 453.5 MB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.006753, allocations: 3.984 kB / 453.5 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.006873, allocations: 69.91 kB / 453.6 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.006875, allocations: 0.6562 kB / 453.6 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.542e-05/0.006931, allocations: 9.234 kB / 453.6 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.006941, allocations: 7.953 kB / 453.6 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.006943, allocations: 0 / 453.6 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.00695, allocations: 1.406 kB / 453.6 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.006953, allocations: 3.938 kB / 453.6 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006954, allocations: 1.031 kB / 453.6 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.007071, allocations: 135.5 kB / 453.7 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.007084, allocations: 0.8125 kB / 453.7 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.007159, allocations: 4 kB / 453.7 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.007196, allocations: 13.52 kB / 453.8 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.007201, allocations: 0 / 453.8 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.637e-05/0.007217, allocations: 17.45 kB / 453.8 MB, free: 0.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007217, allocations: 0 / 453.8 MB, free: 0.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001989/0.007416, allocations: 4.594 kB / 453.8 MB, free: 0.4961 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 0.0001226/0.007539, allocations: 77.05 kB / 453.9 MB, free: 420 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.173e-05/0.00762, allocations: 13.47 kB / 453.9 MB, free: 404 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.007628, allocations: 4.625 kB / 453.9 MB, free: 400 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.00765, allocations: 9.484 kB / 453.9 MB, free: 388 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.007872, allocations: 4.594 kB / 453.9 MB, free: 384 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.008292, allocations: 121.4 kB / 454 MB, free: 240 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.603e-05/0.008328, allocations: 57 kB / 454.1 MB, free: 164 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.028e-05/0.008369, allocations: 5.531 kB / 454.1 MB, free: 160 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.00843, allocations: 56.11 kB / 454.1 MB, free: 104 kB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.008431, allocations: 0 / 454.1 MB, free: 104 kB / 426.7 MB Notification: Performance of Templates: time 0.002791/0.01122, allocations: 0.6035 MB / 454.7 MB, free: 15.53 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6591536654159427]