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.007856/0.007856, allocations: 102.1 kB / 15.73 MB, free: 6.441 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.0016/0.0016, allocations: 198.3 kB / 16.67 MB, free: 6.355 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9061/0.9061, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 60.05 kB / 0.5857 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.435, allocations: 80.92 MB / 0.6647 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001738/0.4368, allocations: 0.5805 MB / 0.6653 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.4381, allocations: 1.113 MB / 0.6663 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.492e-05/0.4382, allocations: 0 / 0.6663 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.4382, allocations: 0 / 0.6663 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.4385, allocations: 26.61 kB / 0.6664 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.735e-06/0.4385, allocations: 0 / 0.6664 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.098e-05/0.4385, allocations: 2.531 kB / 0.6664 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.4386, allocations: 1.438 kB / 0.6664 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.314e-05/0.4386, allocations: 5.234 kB / 0.6664 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.039e-05/0.4386, allocations: 5.234 kB / 0.6664 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.442e-06/0.4386, allocations: 3.938 kB / 0.6664 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.4387, allocations: 16.05 kB / 0.6664 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.44e-06/0.4387, allocations: 4.906 kB / 0.6664 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.132e-05/0.4388, allocations: 5.156 kB / 0.6664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.767e-05/0.4388, allocations: 20.53 kB / 0.6664 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4388, allocations: 1.375 kB / 0.6664 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4388, allocations: 3.938 kB / 0.6664 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.4388, allocations: 0 / 0.6664 GB, free: 6.191 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.0001994/0.4391, allocations: 320.4 kB / 0.6667 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.4391, allocations: 9.469 kB / 0.6668 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.4391, allocations: 2.281 kB / 0.6668 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.454e-05/0.4392, allocations: 160.4 kB / 0.6669 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.4392, allocations: 5.625 kB / 0.6669 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.4392, allocations: 1.719 kB / 0.6669 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.515e-05/0.4393, allocations: 42.12 kB / 0.667 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4393, allocations: 4 kB / 0.667 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-06/0.4393, allocations: 0 / 0.667 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4393, allocations: 1.281 kB / 0.667 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.049e-05/0.4394, allocations: 3.875 kB / 0.667 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.452e-05/0.4395, allocations: 155.9 kB / 0.6671 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.4396, allocations: 30.45 kB / 0.6671 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.4397, allocations: 15.48 kB / 0.6672 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.4398, allocations: 80.86 kB / 0.6672 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.4398, allocations: 39.64 kB / 0.6673 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4398, allocations: 0 / 0.6673 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004138/0.444, allocations: 0.5764 MB / 0.6678 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.444, allocations: 52.78 kB / 0.6679 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.582e-05/0.444, allocations: 93.86 kB / 0.668 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.4441, allocations: 26.83 kB / 0.668 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.098e-05/0.4441, allocations: 80.14 kB / 0.6681 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.4441, allocations: 14.78 kB / 0.6681 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.4442, allocations: 20.89 kB / 0.6681 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.804e-05/0.4442, allocations: 312.3 kB / 0.6684 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005541/0.4448, allocations: 87.11 kB / 0.6685 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005884/0.4454, allocations: 102.9 kB / 0.6686 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.4465, allocations: 187.6 kB / 0.6688 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4465, allocations: 4 kB / 0.6688 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001143/0.4476, allocations: 214.8 kB / 0.669 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4476, allocations: 5.25 kB / 0.669 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4477, allocations: 1.312 kB / 0.669 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4477, allocations: 5.5 kB / 0.669 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.448, allocations: 49.72 kB / 0.669 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4481, allocations: 1.469 kB / 0.669 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.4484, allocations: 38.52 kB / 0.6691 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.4484, allocations: 9.297 kB / 0.6691 GB, free: 4.145 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.179e-05/0.4485, allocations: 113.7 kB / 0.6692 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.4485, allocations: 9.5 kB / 0.6692 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.4498, allocations: 238.6 kB / 0.6694 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4498, allocations: 5 kB / 0.6694 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4498, allocations: 0 / 0.6694 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4498, allocations: 0 / 0.6694 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.4511, allocations: 459.5 kB / 0.6699 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4511, allocations: 0 / 0.6699 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.4515, allocations: 57 kB / 0.6699 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4515, allocations: 1.344 kB / 0.6699 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.4515, allocations: 3.984 kB / 0.6699 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4515, allocations: 1.406 kB / 0.6699 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4515, allocations: 0 / 0.6699 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.4527, allocations: 302.7 kB / 0.6702 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.4527, allocations: 81.09 kB / 0.6703 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.4528, allocations: 1.094 kB / 0.6703 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.4531, allocations: 38.89 kB / 0.6703 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.4531, allocations: 5.094 kB / 0.6703 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.4531, allocations: 5.328 kB / 0.6703 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.241e-05/0.4532, allocations: 76.5 kB / 0.6704 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4532, allocations: 0 / 0.6704 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002525/0.4534, allocations: 9.062 kB / 0.6704 GB, free: 3.145 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.0001649/0.4536, allocations: 109.8 kB / 0.6705 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.4548, allocations: 190.1 kB / 0.6707 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4548, allocations: 0 / 0.6707 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005436/0.4553, allocations: 96.8 kB / 0.6708 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.4556, allocations: 1 kB / 0.6708 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.4566, allocations: 220.1 kB / 0.671 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.4568, allocations: 0.6775 MB / 0.6717 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001813/0.457, allocations: 31.19 kB / 0.6717 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.4571, allocations: 10.69 kB / 0.6717 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4571, allocations: 0 / 0.6717 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of Templates: time 0.002935/0.46, allocations: 0.8104 MB / 0.6725 GB, free: 1.656 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)