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.001007/0.001008, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006446/0.006446, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.49/1.49, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8136/0.8136, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 11.94 kB / 0.504 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4709/0.4712, allocations: 81.58 MB / 0.5837 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001599/0.4729, allocations: 1.16 MB / 0.5848 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007276/0.4736, allocations: 457.2 kB / 0.5852 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.4737, allocations: 2.406 kB / 0.5852 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.4737, allocations: 4.594 kB / 0.5852 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.294e-05/0.4738, allocations: 1.938 kB / 0.5853 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.4739, allocations: 25.19 kB / 0.5853 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.003e-05/0.474, allocations: 22.11 kB / 0.5853 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.041e-05/0.4741, allocations: 16.3 kB / 0.5853 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.667e-05/0.4742, allocations: 6.578 kB / 0.5853 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.4742, allocations: 14.3 kB / 0.5853 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.4742, allocations: 0.9375 kB / 0.5853 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.996e-05/0.4743, allocations: 17.28 kB / 0.5853 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.4743, allocations: 3.359 kB / 0.5854 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.4744, allocations: 37.36 kB / 0.5854 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.4745, allocations: 31.05 kB / 0.5854 GB, free: 2.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4745, allocations: 0.7969 kB / 0.5854 GB, free: 2.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4745, allocations: 4 kB / 0.5854 GB, free: 2.746 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.4745, allocations: 0.5625 kB / 0.5854 GB, free: 2.746 MB / 430.1 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.0003796/0.4749, allocations: 343 kB / 0.5858 GB, free: 2.391 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4749, allocations: 9.625 kB / 0.5858 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.475, allocations: 6.531 kB / 0.5858 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.263e-05/0.4751, allocations: 171.2 kB / 0.5859 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-06/0.4751, allocations: 384 / 0.5859 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.4751, allocations: 6.062 kB / 0.5859 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.4753, allocations: 57.42 kB / 0.586 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.4753, allocations: 0 / 0.586 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.4753, allocations: 1.188 kB / 0.586 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4753, allocations: 0.6094 kB / 0.586 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.4755, allocations: 46.84 kB / 0.586 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.4758, allocations: 251.8 kB / 0.5863 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.4759, allocations: 46.17 kB / 0.5863 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.277e-05/0.476, allocations: 28.53 kB / 0.5863 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.4761, allocations: 86.44 kB / 0.5864 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.4762, allocations: 31.12 kB / 0.5865 GB, free: 1.676 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4762, allocations: 1.156 kB / 0.5865 GB, free: 1.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003965/0.4766, allocations: 102.6 kB / 0.5866 GB, free: 1.629 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.4766, allocations: 52.44 kB / 0.5866 GB, free: 1.566 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.141e-05/0.4767, allocations: 103 kB / 0.5867 GB, free: 1.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.4767, allocations: 29.7 kB / 0.5867 GB, free: 1.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.4767, allocations: 82.38 kB / 0.5868 GB, free: 1.348 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.4768, allocations: 9.438 kB / 0.5868 GB, free: 1.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.4768, allocations: 11.27 kB / 0.5868 GB, free: 1.324 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.4769, allocations: 312.7 kB / 0.5871 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.256e-05/0.477, allocations: 26.97 kB / 0.5872 GB, free: 1.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.646e-05/0.477, allocations: 23.91 kB / 0.5872 GB, free: 1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.4772, allocations: 50.73 kB / 0.5872 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4772, allocations: 4.062 kB / 0.5872 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002138/0.4775, allocations: 81.91 kB / 0.5873 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4775, allocations: 5.125 kB / 0.5873 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4775, allocations: 0.6562 kB / 0.5873 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.4775, allocations: 0.875 kB / 0.5873 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.4776, allocations: 19.81 kB / 0.5873 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.4776, allocations: 4 kB / 0.5873 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.318e-05/0.4777, allocations: 12.17 kB / 0.5874 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.4777, allocations: 1.719 kB / 0.5874 GB, free: 0.9219 MB / 430.1 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.491e-05/0.4778, allocations: 112.5 kB / 0.5875 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.4778, allocations: 1.656 kB / 0.5875 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.478, allocations: 89.41 kB / 0.5875 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.4781, allocations: 0.5625 kB / 0.5875 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4781, allocations: 0.7188 kB / 0.5875 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4781, allocations: 0.5156 kB / 0.5875 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.4782, allocations: 164.5 kB / 0.5877 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4782, allocations: 4.812 kB / 0.5877 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.191e-05/0.4783, allocations: 11.81 kB / 0.5877 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4783, allocations: 0 / 0.5877 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.4783, allocations: 1.984 kB / 0.5877 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4783, allocations: 0 / 0.5877 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4783, allocations: 0 / 0.5877 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.4786, allocations: 177.2 kB / 0.5879 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.4786, allocations: 83.31 kB / 0.588 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.4786, allocations: 0.5625 kB / 0.588 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.792e-05/0.4787, allocations: 9.047 kB / 0.588 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.4787, allocations: 10.94 kB / 0.588 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.4788, allocations: 1.375 kB / 0.588 GB, free: 308 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.067e-05/0.4788, allocations: 87.39 kB / 0.5881 GB, free: 224 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4788, allocations: 1.156 kB / 0.5881 GB, free: 224 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.479, allocations: 9.984 kB / 0.5881 GB, free: 220 kB / 430.1 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.0001658/0.4792, allocations: 97.22 kB / 0.5882 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.4794, allocations: 53.66 kB / 0.5882 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4795, allocations: 0 / 0.5882 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.4796, allocations: 25.25 kB / 0.5883 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.4799, allocations: 18.36 kB / 0.5883 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.4803, allocations: 122.6 kB / 0.5884 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.4806, allocations: 0.6772 MB / 0.5891 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.548e-05/0.4806, allocations: 1.062 kB / 0.5891 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.4806, allocations: 8.922 kB / 0.5891 GB, free: 15.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4806, allocations: 1.25 kB / 0.5891 GB, free: 15.27 MB / 446.1 MB Notification: Performance of Templates: time 0.002698/0.4833, allocations: 482.7 kB / 0.5895 GB, free: 15.21 MB / 446.1 MB 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)