Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.00112/0.00112, allocations: 191 kB / 17.29 MB, free: 5.516 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8275/0.8275, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 67.89 kB / 0.5068 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4016, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002132/0.4038, allocations: 0.579 MB / 0.5863 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.4051, allocations: 1.109 MB / 0.5874 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.4051, allocations: 1.125 kB / 0.5874 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.4052, allocations: 0 / 0.5874 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.4054, allocations: 27.66 kB / 0.5874 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.847e-06/0.4055, allocations: 0.5 kB / 0.5874 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.286e-05/0.4055, allocations: 2.031 kB / 0.5874 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.4056, allocations: 5.438 kB / 0.5875 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.372e-05/0.4056, allocations: 7.531 kB / 0.5875 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.259e-05/0.4056, allocations: 5.516 kB / 0.5875 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.186e-06/0.4056, allocations: 0 / 0.5875 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.4057, allocations: 16.42 kB / 0.5875 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.386e-06/0.4058, allocations: 5.453 kB / 0.5875 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.518e-05/0.4058, allocations: 3.938 kB / 0.5875 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.267e-05/0.4059, allocations: 18.36 kB / 0.5875 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4059, allocations: 1.75 kB / 0.5875 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4059, allocations: 3.938 kB / 0.5875 GB, free: 24.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.4059, allocations: 0 / 0.5875 GB, free: 24.17 MB / 446.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.0002284/0.4061, allocations: 317.9 kB / 0.5878 GB, free: 23.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4062, allocations: 10.2 kB / 0.5878 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.4062, allocations: 2.375 kB / 0.5878 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.404e-05/0.4063, allocations: 164.4 kB / 0.588 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.4063, allocations: 2.562 kB / 0.588 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.4063, allocations: 6.125 kB / 0.588 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.737e-05/0.4064, allocations: 38.62 kB / 0.588 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4064, allocations: 0.6562 kB / 0.588 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.4064, allocations: 1.438 kB / 0.588 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4065, allocations: 0 / 0.588 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.4065, allocations: 12.69 kB / 0.588 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.4066, allocations: 152.8 kB / 0.5882 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.4068, allocations: 36.05 kB / 0.5882 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.219e-05/0.4069, allocations: 12.86 kB / 0.5882 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.407, allocations: 84.31 kB / 0.5883 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.407, allocations: 35.56 kB / 0.5884 GB, free: 23.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.407, allocations: 1.094 kB / 0.5884 GB, free: 23.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.004303/0.4113, allocations: 0.5721 MB / 0.5889 GB, free: 23.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.4114, allocations: 60.77 kB / 0.589 GB, free: 22.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.165e-05/0.4115, allocations: 89.86 kB / 0.5891 GB, free: 22.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.4115, allocations: 27.95 kB / 0.5891 GB, free: 22.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.684e-05/0.4115, allocations: 81.7 kB / 0.5892 GB, free: 22.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.4115, allocations: 16.92 kB / 0.5892 GB, free: 22.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.4116, allocations: 17.8 kB / 0.5892 GB, free: 22.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.857e-05/0.4117, allocations: 316.9 kB / 0.5895 GB, free: 22.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005931/0.4123, allocations: 82.36 kB / 0.5896 GB, free: 22.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005884/0.4129, allocations: 104.3 kB / 0.5897 GB, free: 22.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.414, allocations: 193.4 kB / 0.5899 GB, free: 22.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.414, allocations: 0 / 0.5899 GB, free: 22.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001157/0.4151, allocations: 225.4 kB / 0.5901 GB, free: 21.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.4152, allocations: 8 kB / 0.5901 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4152, allocations: 0 / 0.5901 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.4152, allocations: 0 / 0.5901 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.4156, allocations: 51.5 kB / 0.5901 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.4156, allocations: 0 / 0.5901 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.4159, allocations: 39.3 kB / 0.5902 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.4159, allocations: 3.984 kB / 0.5902 GB, free: 21.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 7.925e-05/0.416, allocations: 117.4 kB / 0.5903 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.416, allocations: 3.938 kB / 0.5903 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.4172, allocations: 237.1 kB / 0.5905 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4172, allocations: 3.938 kB / 0.5905 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4173, allocations: 0 / 0.5905 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4173, allocations: 0 / 0.5905 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.4186, allocations: 458.7 kB / 0.591 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4186, allocations: 0 / 0.591 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/0.419, allocations: 51.97 kB / 0.591 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.419, allocations: 4 kB / 0.591 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.419, allocations: 4 kB / 0.591 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.4191, allocations: 0 / 0.591 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4191, allocations: 3.984 kB / 0.591 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.4202, allocations: 303.4 kB / 0.5913 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.4203, allocations: 85 kB / 0.5914 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.4203, allocations: 0 / 0.5914 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.4206, allocations: 39.98 kB / 0.5914 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.4207, allocations: 0 / 0.5914 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.4207, allocations: 7.984 kB / 0.5914 GB, free: 20.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.713e-05/0.4207, allocations: 83.22 kB / 0.5915 GB, free: 20.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4207, allocations: 0 / 0.5915 GB, free: 20.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.421, allocations: 8 kB / 0.5915 GB, free: 20.38 MB / 446.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 (5): * Single equations (assignments): 5 * 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.0001544/0.4211, allocations: 108.6 kB / 0.5916 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.4223, allocations: 183.9 kB / 0.5918 GB, free: 20.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4223, allocations: 0 / 0.5918 GB, free: 20.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.4229, allocations: 99.95 kB / 0.5919 GB, free: 19.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.4231, allocations: 4.906 kB / 0.5919 GB, free: 19.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.4242, allocations: 209 kB / 0.5921 GB, free: 19.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.98e-05/0.4243, allocations: 0.6807 MB / 0.5928 GB, free: 19.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.4244, allocations: 24 kB / 0.5928 GB, free: 19.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.4245, allocations: 11.44 kB / 0.5928 GB, free: 19.02 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4245, allocations: 0 / 0.5928 GB, free: 19.02 MB / 446.1 MB Notification: Performance of Templates: time 0.00207/0.4266, allocations: 0.8095 MB / 0.5936 GB, free: 18.22 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)