Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside") translateModel(Annex60.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.00132/0.00132, allocations: 100 kB / 15.05 MB, free: 1.105 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.001608/0.001608, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3936/0.3936, allocations: 54.97 MB / 325.3 MB, free: 0.6914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005638/0.000564, allocations: 16 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3508, allocations: 60.71 MB / 457.3 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothHeaviside): time 0.001213/0.352, allocations: 1.12 MB / 458.4 MB, free: 38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002539/0.3523, allocations: 109.8 kB / 458.5 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.3523, allocations: 4.875 kB / 458.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.3524, allocations: 0.5938 kB / 458.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.3524, allocations: 5.781 kB / 458.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.3526, allocations: 22.34 kB / 458.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.441e-05/0.3526, allocations: 9.859 kB / 458.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.034e-05/0.3527, allocations: 2.688 kB / 458.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.87e-05/0.3528, allocations: 16.81 kB / 458.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.288e-05/0.3528, allocations: 6.578 kB / 458.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.3529, allocations: 0.625 kB / 458.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.181e-05/0.3529, allocations: 28.55 kB / 458.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.3529, allocations: 12.94 kB / 458.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.353, allocations: 25.7 kB / 458.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.928e-05/0.3531, allocations: 19.95 kB / 458.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3531, allocations: 1.125 kB / 458.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3531, allocations: 2.406 kB / 458.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.3531, allocations: 2.969 kB / 458.7 MB, free: 37.95 MB / 382.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.0003652/0.3535, allocations: 344.6 kB / 459 MB, free: 37.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.3535, allocations: 7.969 kB / 459 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.3535, allocations: 7.219 kB / 459 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.87e-05/0.3536, allocations: 169 kB / 459.2 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3536, allocations: 3.344 kB / 459.2 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.3537, allocations: 1.531 kB / 459.2 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3538, allocations: 57.66 kB / 459.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3538, allocations: 1.219 kB / 459.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.3539, allocations: 0 / 459.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3539, allocations: 2.625 kB / 459.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.3541, allocations: 44.58 kB / 459.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.3543, allocations: 252.4 kB / 459.6 MB, free: 37.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.3544, allocations: 49.19 kB / 459.6 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003826/0.3548, allocations: 215 kB / 459.8 MB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.3549, allocations: 35 kB / 459.9 MB, free: 36.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.3549, allocations: 1.219 kB / 459.9 MB, free: 36.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000342/0.3552, allocations: 101.3 kB / 460 MB, free: 36.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.3552, allocations: 51.41 kB / 460 MB, free: 36.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.145e-05/0.3553, allocations: 110.4 kB / 460.1 MB, free: 36.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.3553, allocations: 25.7 kB / 460.1 MB, free: 36.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.3554, allocations: 80.14 kB / 460.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.3554, allocations: 11.89 kB / 460.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.3554, allocations: 2.844 kB / 460.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.451e-05/0.3554, allocations: 314 kB / 460.5 MB, free: 36.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.561e-05/0.3555, allocations: 27.81 kB / 460.6 MB, free: 36.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/0.3556, allocations: 24.81 kB / 460.6 MB, free: 36.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.303e-05/0.3557, allocations: 21.38 kB / 460.6 MB, free: 36.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3557, allocations: 0 / 460.6 MB, free: 36.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001843/0.3559, allocations: 77.25 kB / 460.7 MB, free: 36.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3559, allocations: 6 kB / 460.7 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3559, allocations: 4.078 kB / 460.7 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3559, allocations: 0 / 460.7 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.356, allocations: 14.45 kB / 460.7 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3561, allocations: 3.688 kB / 460.7 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.3561, allocations: 12.09 kB / 460.7 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.3562, allocations: 0 / 460.7 MB, free: 36.18 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/0.3562, allocations: 116.1 kB / 460.8 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.3562, allocations: 0 / 460.8 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.3565, allocations: 86.11 kB / 460.9 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3565, allocations: 0 / 460.9 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3565, allocations: 3.953 kB / 460.9 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.3565, allocations: 0.6562 kB / 460.9 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.3566, allocations: 165.1 kB / 461.1 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3566, allocations: 0 / 461.1 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-05/0.3567, allocations: 17.23 kB / 461.1 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3567, allocations: 0 / 461.1 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.3567, allocations: 0.8438 kB / 461.1 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3567, allocations: 0 / 461.1 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3567, allocations: 1.094 kB / 461.1 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.3569, allocations: 185.3 kB / 461.3 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.357, allocations: 81.02 kB / 461.4 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.357, allocations: 0 / 461.4 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-05/0.3571, allocations: 9.078 kB / 461.4 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.3571, allocations: 2.625 kB / 461.4 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-06/0.3571, allocations: 4.031 kB / 461.4 MB, free: 35.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.58e-05/0.3572, allocations: 86.23 kB / 461.5 MB, free: 35.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3572, allocations: 0 / 461.5 MB, free: 35.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.3574, allocations: 15.45 kB / 461.5 MB, free: 35.51 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001179/0.3576, allocations: 106.8 kB / 461.6 MB, free: 35.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.3578, allocations: 48.75 kB / 461.6 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3578, allocations: 0 / 461.6 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.834e-05/0.3579, allocations: 32.16 kB / 461.7 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.3581, allocations: 2.531 kB / 461.7 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.3584, allocations: 113.2 kB / 461.8 MB, free: 35.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.3586, allocations: 0.679 MB / 462.5 MB, free: 34.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.597e-05/0.3586, allocations: 0.7031 kB / 462.5 MB, free: 34.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.3586, allocations: 10.59 kB / 462.5 MB, free: 34.6 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3586, allocations: 0 / 462.5 MB, free: 34.6 MB / 382.1 MB Notification: Performance of Templates: time 0.002633/0.3613, allocations: 0.543 MB / 463 MB, free: 34.57 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) Environment - environmentSimulation: