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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007608/0.007609, allocations: 103.5 kB / 15.74 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 198.5 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8151/0.8151, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 64.47 kB / 0.5813 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2017, allocations: 80.21 MB / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002515/0.2043, allocations: 1.431 MB / 0.6611 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000829/0.2051, allocations: 483.6 kB / 0.6615 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.2052, allocations: 0 / 0.6615 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.674e-05/0.2052, allocations: 3.938 kB / 0.6615 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.731e-05/0.2053, allocations: 3.984 kB / 0.6615 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.2055, allocations: 19.92 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.324e-05/0.2056, allocations: 27.92 kB / 0.6616 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2057, allocations: 11.98 kB / 0.6616 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.035e-05/0.2058, allocations: 7.984 kB / 0.6616 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.269e-05/0.2059, allocations: 11.94 kB / 0.6616 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.2059, allocations: 4 kB / 0.6616 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.158e-05/0.206, allocations: 31.89 kB / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.206, allocations: 4 kB / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.206, allocations: 11.94 kB / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.2061, allocations: 31.89 kB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2062, allocations: 0 / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2062, allocations: 4 kB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.2062, allocations: 4 kB / 0.6617 GB, free: 11.35 MB / 0.4981 GB 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.0004851/0.2067, allocations: 341.5 kB / 0.662 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2067, allocations: 12.03 kB / 0.662 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.2068, allocations: 0.9375 kB / 0.662 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2069, allocations: 164.4 kB / 0.6622 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.2069, allocations: 4.375 kB / 0.6622 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.2069, allocations: 384 / 0.6622 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.2071, allocations: 61.92 kB / 0.6623 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2071, allocations: 0 / 0.6623 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2072, allocations: 0 / 0.6623 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2072, allocations: 3.938 kB / 0.6623 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.2073, allocations: 35.95 kB / 0.6623 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.2077, allocations: 248.8 kB / 0.6625 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.2079, allocations: 46.48 kB / 0.6626 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.208, allocations: 24.91 kB / 0.6626 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.2081, allocations: 77.11 kB / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.2082, allocations: 34.56 kB / 0.6627 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.2082, allocations: 0 / 0.6627 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003625/0.2085, allocations: 85.64 kB / 0.6628 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.2086, allocations: 51.41 kB / 0.6629 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.442e-05/0.2087, allocations: 101.8 kB / 0.6629 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2087, allocations: 29.64 kB / 0.663 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.2087, allocations: 92.08 kB / 0.6631 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.2088, allocations: 7.844 kB / 0.6631 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.2088, allocations: 17.7 kB / 0.6631 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2089, allocations: 315 kB / 0.6634 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.209, allocations: 15.98 kB / 0.6634 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.245e-05/0.2091, allocations: 15.98 kB / 0.6634 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.2092, allocations: 44.75 kB / 0.6635 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2092, allocations: 0 / 0.6635 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001934/0.2094, allocations: 65.73 kB / 0.6635 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2095, allocations: 11.98 kB / 0.6635 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2095, allocations: 0 / 0.6635 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2095, allocations: 0 / 0.6635 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.2096, allocations: 7.938 kB / 0.6635 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2096, allocations: 0 / 0.6635 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.2096, allocations: 7.984 kB / 0.6636 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.2096, allocations: 4 kB / 0.6636 GB, free: 9.223 MB / 0.4981 GB 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.821e-05/0.2097, allocations: 117.8 kB / 0.6637 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.2097, allocations: 0 / 0.6637 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.21, allocations: 72.77 kB / 0.6637 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.21, allocations: 256 / 0.6637 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.21, allocations: 0 / 0.6637 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.21, allocations: 4 kB / 0.6637 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.2102, allocations: 165.5 kB / 0.6639 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2102, allocations: 7.969 kB / 0.6639 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.817e-05/0.2103, allocations: 11.98 kB / 0.6639 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2103, allocations: 0 / 0.6639 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.2103, allocations: 0 / 0.6639 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2103, allocations: 7.938 kB / 0.6639 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2103, allocations: 0 / 0.6639 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.2105, allocations: 163.5 kB / 0.6641 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.2106, allocations: 77.11 kB / 0.6642 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.2106, allocations: 0 / 0.6642 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.2107, allocations: 11.98 kB / 0.6642 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.2107, allocations: 0 / 0.6642 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.2107, allocations: 7.984 kB / 0.6642 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.2108, allocations: 83.27 kB / 0.6643 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2108, allocations: 0 / 0.6643 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002205/0.211, allocations: 8 kB / 0.6643 GB, free: 8.395 MB / 0.4981 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 (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.0001575/0.2112, allocations: 103.3 kB / 0.6644 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.2114, allocations: 43.89 kB / 0.6644 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2114, allocations: 0 / 0.6644 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-05/0.2115, allocations: 19.92 kB / 0.6644 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.2118, allocations: 12.06 kB / 0.6644 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.2121, allocations: 105.4 kB / 0.6645 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.2124, allocations: 0.6768 MB / 0.6652 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.396e-05/0.2124, allocations: 4 kB / 0.6652 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.2124, allocations: 7.438 kB / 0.6652 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2125, allocations: 0 / 0.6652 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of Templates: time 0.00274/0.2152, allocations: 0.5629 MB / 0.6658 GB, free: 6.812 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)