Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001422/0.001422, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001877/0.001877, allocations: 194.2 kB / 16.14 MB, free: 6.703 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 / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7911/0.7911, allocations: 132.2 MB / 422.2 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 62.06 kB / 0.5011 GB, free: 4.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4553/0.4566, allocations: 80.2 MB / 0.5794 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001857/0.4586, allocations: 0.6543 MB / 0.5801 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.4598, allocations: 1.104 MB / 0.5812 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.142e-05/0.4598, allocations: 0 / 0.5812 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.4599, allocations: 0 / 0.5812 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.4601, allocations: 25.27 kB / 0.5812 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.645e-06/0.4601, allocations: 0 / 0.5812 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.52e-05/0.4601, allocations: 2.719 kB / 0.5812 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.4602, allocations: 2.188 kB / 0.5812 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.417e-05/0.4602, allocations: 1.953 kB / 0.5812 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.099e-05/0.4602, allocations: 9.141 kB / 0.5812 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.154e-06/0.4602, allocations: 0 / 0.5812 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.4603, allocations: 20.44 kB / 0.5812 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-06/0.4603, allocations: 0.9688 kB / 0.5812 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.501e-05/0.4604, allocations: 4.844 kB / 0.5812 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.498e-05/0.4604, allocations: 20.62 kB / 0.5812 GB, free: 3.273 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4604, allocations: 1.125 kB / 0.5812 GB, free: 3.273 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.4604, allocations: 0 / 0.5812 GB, free: 3.273 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.4605, allocations: 0 / 0.5812 GB, free: 3.273 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.0002141/0.4607, allocations: 321.6 kB / 0.5815 GB, free: 2.922 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.4607, allocations: 8.438 kB / 0.5816 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.4608, allocations: 10.16 kB / 0.5816 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.925e-05/0.4608, allocations: 161.9 kB / 0.5817 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.4608, allocations: 1.812 kB / 0.5817 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.4609, allocations: 1.719 kB / 0.5817 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.461, allocations: 47.88 kB / 0.5818 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.461, allocations: 1.094 kB / 0.5818 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.461, allocations: 0.5625 kB / 0.5818 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.461, allocations: 1.812 kB / 0.5818 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.698e-05/0.4611, allocations: 5.109 kB / 0.5818 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.4612, allocations: 150.8 kB / 0.5819 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.4614, allocations: 37.81 kB / 0.582 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.4614, allocations: 11.81 kB / 0.582 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.4615, allocations: 83.45 kB / 0.582 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.4615, allocations: 35.31 kB / 0.5821 GB, free: 2.301 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4615, allocations: 0 / 0.5821 GB, free: 2.301 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.004429/0.466, allocations: 0.566 MB / 0.5826 GB, free: 2.215 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.466, allocations: 53.23 kB / 0.5827 GB, free: 2.152 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.832e-05/0.4661, allocations: 89.86 kB / 0.5828 GB, free: 2.055 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.4661, allocations: 27.08 kB / 0.5828 GB, free: 2.023 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.197e-05/0.4661, allocations: 84.84 kB / 0.5829 GB, free: 1.938 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.4661, allocations: 19.16 kB / 0.5829 GB, free: 1.922 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.4662, allocations: 19.45 kB / 0.5829 GB, free: 1.902 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.4663, allocations: 313.1 kB / 0.5832 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005892/0.4669, allocations: 82.86 kB / 0.5833 GB, free: 1.582 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005713/0.4674, allocations: 105.2 kB / 0.5834 GB, free: 1.547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.4685, allocations: 194.5 kB / 0.5836 GB, free: 1.496 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4686, allocations: 7.938 kB / 0.5836 GB, free: 1.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001203/0.4698, allocations: 220.9 kB / 0.5838 GB, free: 1.426 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.4698, allocations: 5.25 kB / 0.5838 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4698, allocations: 2.609 kB / 0.5838 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.4698, allocations: 0.6562 kB / 0.5838 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.4702, allocations: 49.41 kB / 0.5838 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.4703, allocations: 2.281 kB / 0.5839 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.4706, allocations: 39.75 kB / 0.5839 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.4706, allocations: 7.375 kB / 0.5839 GB, free: 1.414 MB / 430.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.417e-05/0.4707, allocations: 114.8 kB / 0.584 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.4707, allocations: 5.406 kB / 0.584 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.4721, allocations: 239.3 kB / 0.5842 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4721, allocations: 0 / 0.5842 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.4721, allocations: 1.062 kB / 0.5842 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4722, allocations: 0.6094 kB / 0.5842 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.4736, allocations: 454.6 kB / 0.5847 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4736, allocations: 3.938 kB / 0.5847 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.474, allocations: 49.86 kB / 0.5847 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.474, allocations: 0.7969 kB / 0.5847 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.4741, allocations: 1.266 kB / 0.5847 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4741, allocations: 0.6562 kB / 0.5847 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4741, allocations: 4 kB / 0.5847 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.4753, allocations: 306.1 kB / 0.585 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.4754, allocations: 86.84 kB / 0.5851 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.4754, allocations: 2.125 kB / 0.5851 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.4758, allocations: 42.56 kB / 0.5851 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.4758, allocations: 3.031 kB / 0.5852 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.4758, allocations: 3.078 kB / 0.5852 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.457e-05/0.4758, allocations: 75.28 kB / 0.5852 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4758, allocations: 4 kB / 0.5852 GB, free: 0.543 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.4761, allocations: 9.656 kB / 0.5852 GB, free: 0.543 MB / 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 (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.0001715/0.4763, allocations: 101.5 kB / 0.5853 GB, free: 468 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.4775, allocations: 183.1 kB / 0.5855 GB, free: 444 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4775, allocations: 0 / 0.5855 GB, free: 444 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005772/0.4781, allocations: 93.55 kB / 0.5856 GB, free: 432 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.4783, allocations: 5.688 kB / 0.5856 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.4794, allocations: 218.3 kB / 0.5858 GB, free: 308 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.4796, allocations: 0.6759 MB / 0.5865 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002251/0.4799, allocations: 25.48 kB / 0.5865 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.4799, allocations: 15.03 kB / 0.5865 GB, free: 15.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.48, allocations: 0 / 0.5865 GB, free: 15.57 MB / 446.1 MB Notification: Performance of Templates: time 0.003209/0.4832, allocations: 0.7977 MB / 0.5873 GB, free: 15.5 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)