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.006131/0.006131, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001195/0.001195, allocations: 191 kB / 16.68 MB, free: 5.973 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9638/0.9638, allocations: 135.1 MB / 425.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 59.91 kB / 0.5857 GB, free: 3.289 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4384, allocations: 80.92 MB / 0.6647 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001457/0.4399, allocations: 0.5734 MB / 0.6652 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.441, allocations: 1.113 MB / 0.6663 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.4411, allocations: 0 / 0.6663 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.4411, allocations: 4 kB / 0.6663 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.4414, allocations: 23.8 kB / 0.6664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.637e-06/0.4414, allocations: 3.938 kB / 0.6664 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.118e-05/0.4414, allocations: 1.375 kB / 0.6664 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.4415, allocations: 2.062 kB / 0.6664 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.01e-05/0.4415, allocations: 5.172 kB / 0.6664 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.184e-05/0.4415, allocations: 1.219 kB / 0.6664 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.632e-06/0.4415, allocations: 0 / 0.6664 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.4417, allocations: 19.7 kB / 0.6664 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.634e-06/0.4417, allocations: 5.156 kB / 0.6664 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.269e-05/0.4417, allocations: 1.25 kB / 0.6664 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.012e-05/0.4418, allocations: 20.72 kB / 0.6664 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4418, allocations: 0 / 0.6664 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4418, allocations: 1.969 kB / 0.6664 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.4418, allocations: 3.938 kB / 0.6664 GB, free: 6.16 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.0002409/0.442, allocations: 319 kB / 0.6667 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4421, allocations: 9.531 kB / 0.6667 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.4421, allocations: 0.9375 kB / 0.6667 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.859e-05/0.4422, allocations: 161.7 kB / 0.6669 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.4422, allocations: 384 / 0.6669 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.4422, allocations: 10.33 kB / 0.6669 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.082e-05/0.4423, allocations: 41.92 kB / 0.6669 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4424, allocations: 0 / 0.6669 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.4424, allocations: 5.344 kB / 0.6669 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4424, allocations: 0 / 0.6669 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.145e-05/0.4424, allocations: 7.859 kB / 0.667 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.4425, allocations: 155.1 kB / 0.6671 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.4427, allocations: 33.48 kB / 0.6671 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.102e-05/0.4428, allocations: 12.73 kB / 0.6671 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.4429, allocations: 87.72 kB / 0.6672 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.4429, allocations: 35.91 kB / 0.6673 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.4429, allocations: 0 / 0.6673 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004171/0.4471, allocations: 0.5696 MB / 0.6678 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.4471, allocations: 55.41 kB / 0.6679 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.541e-05/0.4471, allocations: 91.11 kB / 0.668 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.4472, allocations: 25.7 kB / 0.668 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.091e-05/0.4472, allocations: 80.14 kB / 0.6681 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.4472, allocations: 18.62 kB / 0.6681 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.4473, allocations: 22.05 kB / 0.6681 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.323e-05/0.4473, allocations: 312 kB / 0.6684 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005964/0.4479, allocations: 82.83 kB / 0.6685 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/0.4485, allocations: 111.2 kB / 0.6686 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.4497, allocations: 183.2 kB / 0.6688 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4497, allocations: 5.469 kB / 0.6688 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001253/0.451, allocations: 220.9 kB / 0.669 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.451, allocations: 5.406 kB / 0.669 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.451, allocations: 1.375 kB / 0.669 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.451, allocations: 1.781 kB / 0.669 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.4514, allocations: 49.75 kB / 0.669 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.4514, allocations: 1.562 kB / 0.669 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.4518, allocations: 41.88 kB / 0.6691 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.4518, allocations: 2.312 kB / 0.6691 GB, free: 4.109 MB / 0.4981 GB 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 6.186e-05/0.4519, allocations: 119.3 kB / 0.6692 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.4519, allocations: 9.438 kB / 0.6692 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.4532, allocations: 230.3 kB / 0.6694 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4533, allocations: 5.141 kB / 0.6694 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4533, allocations: 3.938 kB / 0.6694 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.4533, allocations: 3.938 kB / 0.6694 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.4547, allocations: 463.4 kB / 0.6699 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4547, allocations: 64 / 0.6699 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.4551, allocations: 57.5 kB / 0.6699 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4551, allocations: 0 / 0.6699 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.4551, allocations: 1.094 kB / 0.6699 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4552, allocations: 1.094 kB / 0.6699 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4552, allocations: 0 / 0.6699 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.4564, allocations: 310.3 kB / 0.6702 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.4564, allocations: 82.28 kB / 0.6703 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.4565, allocations: 1.312 kB / 0.6703 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.4568, allocations: 41.47 kB / 0.6703 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.4569, allocations: 2.062 kB / 0.6703 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.4569, allocations: 5.031 kB / 0.6704 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.251e-05/0.4569, allocations: 76.28 kB / 0.6704 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4569, allocations: 0 / 0.6704 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002588/0.4572, allocations: 12.84 kB / 0.6704 GB, free: 3.094 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 (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.000145/0.4573, allocations: 105.2 kB / 0.6705 GB, free: 3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.4587, allocations: 185.3 kB / 0.6707 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4587, allocations: 0 / 0.6707 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006292/0.4593, allocations: 92.11 kB / 0.6708 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.4596, allocations: 3.906 kB / 0.6708 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.4607, allocations: 223.7 kB / 0.671 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.036e-05/0.4608, allocations: 0.6733 MB / 0.6717 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.461, allocations: 28.47 kB / 0.6717 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.461, allocations: 13.7 kB / 0.6717 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.461, allocations: 0 / 0.6717 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of Templates: time 0.002916/0.464, allocations: 0.8117 MB / 0.6725 GB, free: 1.609 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)