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.001526/0.001526, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002038, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.705/1.705, allocations: 205.1 MB / 222.4 MB, free: 4.402 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.466/0.466, allocations: 54.94 MB / 324.7 MB, free: 136 kB / 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.001702/0.001703, allocations: 71.89 kB / 395.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1404, allocations: 59.59 MB / 455 MB, free: 64 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothHeaviside): time 0.2817/0.4222, allocations: 1.405 MB / 456.4 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003128/0.4225, allocations: 113.2 kB / 456.5 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.4226, allocations: 2.297 kB / 456.5 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.4226, allocations: 3.938 kB / 456.5 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.585e-05/0.4227, allocations: 1.875 kB / 456.5 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.4229, allocations: 33.19 kB / 456.6 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.76e-05/0.423, allocations: 22.62 kB / 456.6 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.4231, allocations: 7.312 kB / 456.6 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.174e-05/0.4232, allocations: 10.41 kB / 456.6 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.4232, allocations: 10.53 kB / 456.6 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.4232, allocations: 1.781 kB / 456.6 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.4e-05/0.4233, allocations: 36.3 kB / 456.6 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.4234, allocations: 7.828 kB / 456.6 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.4234, allocations: 6.109 kB / 456.7 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.4235, allocations: 36.77 kB / 456.7 MB, free: 39.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.4235, allocations: 0 / 456.7 MB, free: 39.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4235, allocations: 3.938 kB / 456.7 MB, free: 39.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.4235, allocations: 1.656 kB / 456.7 MB, free: 39.04 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.0003968/0.4239, allocations: 343.2 kB / 457 MB, free: 38.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.424, allocations: 7.906 kB / 457 MB, free: 38.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.424, allocations: 4.844 kB / 457 MB, free: 38.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.819e-05/0.4241, allocations: 173.3 kB / 457.2 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4241, allocations: 5.156 kB / 457.2 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.4241, allocations: 384 / 457.2 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.4243, allocations: 54.98 kB / 457.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.4243, allocations: 0 / 457.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.4244, allocations: 2.656 kB / 457.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4244, allocations: 0.7812 kB / 457.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.4245, allocations: 33.86 kB / 457.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.4248, allocations: 259.4 kB / 457.6 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.425, allocations: 35.91 kB / 457.6 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.501e-05/0.4251, allocations: 29.23 kB / 457.6 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003643/0.4254, allocations: 198.9 kB / 457.8 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.4255, allocations: 32.25 kB / 457.8 MB, free: 37.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4255, allocations: 0 / 457.8 MB, free: 37.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003465/0.4258, allocations: 90.55 kB / 457.9 MB, free: 37.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.4259, allocations: 51.41 kB / 458 MB, free: 37.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.46e-05/0.4259, allocations: 106.3 kB / 458.1 MB, free: 37.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.4259, allocations: 26.36 kB / 458.1 MB, free: 37.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.71e-05/0.426, allocations: 81.2 kB / 458.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.426, allocations: 10.59 kB / 458.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.426, allocations: 17.41 kB / 458.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.032e-05/0.4261, allocations: 317.6 kB / 458.5 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-05/0.4262, allocations: 16.89 kB / 458.5 MB, free: 37.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.4262, allocations: 15.77 kB / 458.6 MB, free: 37.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.4264, allocations: 46.14 kB / 458.6 MB, free: 37.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4264, allocations: 0.75 kB / 458.6 MB, free: 37.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001714/0.4266, allocations: 70.14 kB / 458.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4266, allocations: 4.906 kB / 458.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4266, allocations: 5.312 kB / 458.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4266, allocations: 0 / 458.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.4267, allocations: 13.05 kB / 458.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.4267, allocations: 0 / 458.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.4268, allocations: 6.219 kB / 458.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.4268, allocations: 0 / 458.7 MB, free: 37.25 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 6.354e-05/0.4269, allocations: 119.8 kB / 458.8 MB, free: 37.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.4269, allocations: 3.328 kB / 458.8 MB, free: 37.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.4271, allocations: 74 kB / 458.9 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4271, allocations: 0 / 458.9 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4271, allocations: 0 / 458.9 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4271, allocations: 0 / 458.9 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.4273, allocations: 163.2 kB / 459.1 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4273, allocations: 3.625 kB / 459.1 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.4273, allocations: 14.25 kB / 459.1 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.4273, allocations: 2.688 kB / 459.1 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.4274, allocations: 0 / 459.1 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4274, allocations: 2.156 kB / 459.1 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4274, allocations: 0 / 459.1 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.4276, allocations: 164 kB / 459.2 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.4276, allocations: 84.52 kB / 459.3 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.4276, allocations: 3.938 kB / 459.3 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.4277, allocations: 6.875 kB / 459.3 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.4278, allocations: 3.375 kB / 459.3 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.4278, allocations: 2.719 kB / 459.3 MB, free: 36.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.533e-05/0.4278, allocations: 78.03 kB / 459.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4278, allocations: 0 / 459.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.428, allocations: 12.03 kB / 459.4 MB, free: 36.59 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.0001378/0.4282, allocations: 108.7 kB / 459.5 MB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.4284, allocations: 37.56 kB / 459.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4284, allocations: 0 / 459.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.907e-05/0.4285, allocations: 20.48 kB / 459.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.4288, allocations: 10.09 kB / 459.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.4291, allocations: 109.8 kB / 459.7 MB, free: 36.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.4292, allocations: 0.6813 MB / 460.4 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.541e-05/0.4293, allocations: 3.484 kB / 460.4 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.4293, allocations: 7.438 kB / 460.4 MB, free: 35.7 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4293, allocations: 2.25 kB / 460.4 MB, free: 35.7 MB / 382.1 MB Notification: Performance of Templates: time 0.002702/0.432, allocations: 0.6253 MB / 461 MB, free: 35.65 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.makefile (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)