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.0008943/0.0008943, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008467/0.008467, allocations: 169.3 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4314/0.4314, allocations: 55.02 MB / 325.8 MB, free: 0.5039 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.0005919/0.0005922, allocations: 12 kB / 397.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4775, allocations: 60.72 MB / 458 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothHeaviside): time 0.001994/0.4796, allocations: 1.139 MB / 459.1 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003736/0.48, allocations: 106.2 kB / 459.2 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.48, allocations: 5.047 kB / 459.2 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.48, allocations: 0 / 459.2 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.555e-05/0.4801, allocations: 7.453 kB / 459.2 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.4803, allocations: 23.41 kB / 459.2 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.538e-05/0.4804, allocations: 24.62 kB / 459.3 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.4805, allocations: 4.25 kB / 459.3 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.331e-05/0.4805, allocations: 10.06 kB / 459.3 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.4806, allocations: 13.41 kB / 459.3 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.4806, allocations: 4 kB / 459.3 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.002e-05/0.4807, allocations: 29.12 kB / 459.3 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.4807, allocations: 0 / 459.3 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.4808, allocations: 41.75 kB / 459.4 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.4809, allocations: 33.22 kB / 459.4 MB, free: 38.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4809, allocations: 3.938 kB / 459.4 MB, free: 38.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4809, allocations: 0 / 459.4 MB, free: 38.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.4809, allocations: 0 / 459.4 MB, free: 38.37 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.0004729/0.4814, allocations: 350 kB / 459.7 MB, free: 38.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.4815, allocations: 8.719 kB / 459.8 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.4815, allocations: 9.344 kB / 459.8 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.4817, allocations: 168.3 kB / 459.9 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4817, allocations: 5.594 kB / 459.9 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.4817, allocations: 384 / 459.9 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.4819, allocations: 60.36 kB / 460 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.482, allocations: 0 / 460 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.482, allocations: 3.281 kB / 460 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.482, allocations: 0 / 460 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.4822, allocations: 51 kB / 460 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.4825, allocations: 246.6 kB / 460.3 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.4827, allocations: 48.25 kB / 460.3 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.859e-05/0.4828, allocations: 25.91 kB / 460.4 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003995/0.4832, allocations: 218 kB / 460.6 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.4832, allocations: 34.16 kB / 460.6 MB, free: 37.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4832, allocations: 0.7188 kB / 460.6 MB, free: 37.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003652/0.4836, allocations: 99.16 kB / 460.7 MB, free: 37.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.4836, allocations: 55.34 kB / 460.8 MB, free: 37.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.299e-05/0.4837, allocations: 105.2 kB / 460.9 MB, free: 37.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.4837, allocations: 25.7 kB / 460.9 MB, free: 37.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.4838, allocations: 90.92 kB / 461 MB, free: 36.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.4838, allocations: 0.9062 kB / 461 MB, free: 36.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.4838, allocations: 9.719 kB / 461 MB, free: 36.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.4839, allocations: 319.6 kB / 461.3 MB, free: 36.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/0.484, allocations: 23.39 kB / 461.3 MB, free: 36.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.241e-05/0.4841, allocations: 23.77 kB / 461.3 MB, free: 36.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.4842, allocations: 53.3 kB / 461.4 MB, free: 36.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4842, allocations: 1.219 kB / 461.4 MB, free: 36.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001828/0.4844, allocations: 79.67 kB / 461.5 MB, free: 36.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4845, allocations: 12 kB / 461.5 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4845, allocations: 0 / 461.5 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.4845, allocations: 5.312 kB / 461.5 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/0.4846, allocations: 9.062 kB / 461.5 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4846, allocations: 0 / 461.5 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.4846, allocations: 16.16 kB / 461.5 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.4847, allocations: 1.516 kB / 461.5 MB, free: 36.55 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.689e-05/0.4847, allocations: 113.6 kB / 461.6 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.4847, allocations: 3 kB / 461.6 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.485, allocations: 81.39 kB / 461.7 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.485, allocations: 0.8125 kB / 461.7 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.485, allocations: 0 / 461.7 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.485, allocations: 1.625 kB / 461.7 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.4851, allocations: 164.8 kB / 461.9 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4851, allocations: 5.875 kB / 461.9 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.354e-05/0.4852, allocations: 13.28 kB / 461.9 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4852, allocations: 0 / 461.9 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.4852, allocations: 4.031 kB / 461.9 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4852, allocations: 0 / 461.9 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4852, allocations: 0 / 461.9 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.4854, allocations: 179.5 kB / 462.1 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.4855, allocations: 81.77 kB / 462.2 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.4855, allocations: 0 / 462.2 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.4856, allocations: 10.12 kB / 462.2 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.4856, allocations: 3.734 kB / 462.2 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.4856, allocations: 0 / 462.2 MB, free: 35.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.316e-05/0.4856, allocations: 88.84 kB / 462.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4856, allocations: 0 / 462.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000209/0.4859, allocations: 5.812 kB / 462.3 MB, free: 35.89 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 (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.0001249/0.486, allocations: 116.5 kB / 462.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.4862, allocations: 43.11 kB / 462.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4862, allocations: 64 / 462.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.446e-05/0.4863, allocations: 31.67 kB / 462.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.4866, allocations: 3.938 kB / 462.5 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.4868, allocations: 119.9 kB / 462.6 MB, free: 35.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.487, allocations: 0.6783 MB / 463.2 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.321e-05/0.487, allocations: 5.266 kB / 463.3 MB, free: 34.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.487, allocations: 7.438 kB / 463.3 MB, free: 34.97 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.487, allocations: 3.938 kB / 463.3 MB, free: 34.96 MB / 382.1 MB Notification: Performance of Templates: time 0.00245/0.4895, allocations: 0.5628 MB / 463.8 MB, free: 34.93 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: