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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001959/0.00196, allocations: 106.5 kB / 16.4 MB, free: 6.48 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002479/0.002479, allocations: 202.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.1 MB / 227.2 MB, free: 12.14 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2907/0.2907, allocations: 54.95 MB / 331.6 MB, free: 2.742 MB / 270.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside") translateModel(Annex60.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "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.002258/0.002258, allocations: 74.7 kB / 464.9 MB, free: 344 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1695, allocations: 59.59 MB / 0.5122 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothHeaviside): time 0.003449/0.1731, allocations: 1.402 MB / 0.5136 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004541/0.1736, allocations: 123.5 kB / 0.5137 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.1736, allocations: 0 / 0.5137 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.219e-05/0.1737, allocations: 3.938 kB / 0.5137 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.262e-05/0.1737, allocations: 3.938 kB / 0.5137 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.1741, allocations: 27.97 kB / 0.5137 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.1742, allocations: 23.91 kB / 0.5138 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1744, allocations: 8 kB / 0.5138 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.561e-05/0.1744, allocations: 4 kB / 0.5138 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.32e-05/0.1745, allocations: 15.92 kB / 0.5138 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1745, allocations: 0 / 0.5138 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.1746, allocations: 31.97 kB / 0.5138 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.1746, allocations: 0 / 0.5138 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.1747, allocations: 11.94 kB / 0.5138 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1748, allocations: 51.75 kB / 0.5139 GB, free: 3.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1749, allocations: 4 kB / 0.5139 GB, free: 3.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1749, allocations: 0 / 0.5139 GB, free: 3.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1749, allocations: 0 / 0.5139 GB, free: 3.066 MB / 398.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.0007014/0.1756, allocations: 343.4 kB / 0.5142 GB, free: 2.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.1756, allocations: 8.031 kB / 0.5142 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.1757, allocations: 8.891 kB / 0.5142 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.1759, allocations: 168.3 kB / 0.5144 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.176, allocations: 384 / 0.5144 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.176, allocations: 12.31 kB / 0.5144 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.1762, allocations: 53.61 kB / 0.5144 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1762, allocations: 0 / 0.5144 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1763, allocations: 0 / 0.5144 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.1763, allocations: 0 / 0.5144 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.1765, allocations: 39.91 kB / 0.5145 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.177, allocations: 248.9 kB / 0.5147 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.1772, allocations: 38.56 kB / 0.5148 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.195e-05/0.1773, allocations: 24.89 kB / 0.5148 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005472/0.1778, allocations: 198.2 kB / 0.515 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.1779, allocations: 34.56 kB / 0.515 GB, free: 1.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1779, allocations: 0 / 0.515 GB, free: 1.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.00038/0.1783, allocations: 89.53 kB / 0.5151 GB, free: 1.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.1784, allocations: 51.41 kB / 0.5151 GB, free: 1.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.1785, allocations: 105.8 kB / 0.5152 GB, free: 1.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1785, allocations: 25.7 kB / 0.5153 GB, free: 1.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.1785, allocations: 84.27 kB / 0.5153 GB, free: 1.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.1786, allocations: 7.953 kB / 0.5153 GB, free: 1.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.1786, allocations: 13.72 kB / 0.5154 GB, free: 1.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1788, allocations: 318.8 kB / 0.5157 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-05/0.1789, allocations: 23.92 kB / 0.5157 GB, free: 0.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.493e-05/0.1789, allocations: 11.98 kB / 0.5157 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.1791, allocations: 44.88 kB / 0.5157 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1791, allocations: 4.188 kB / 0.5157 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001962/0.1793, allocations: 65.67 kB / 0.5158 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1793, allocations: 4 kB / 0.5158 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1794, allocations: 4 kB / 0.5158 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.1794, allocations: 3.984 kB / 0.5158 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.466e-05/0.1795, allocations: 12.03 kB / 0.5158 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1795, allocations: 0 / 0.5158 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.1796, allocations: 7.984 kB / 0.5158 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.1796, allocations: 0 / 0.5158 GB, free: 0.793 MB / 398.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 8.871e-05/0.1797, allocations: 114.4 kB / 0.5159 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.1797, allocations: 0 / 0.5159 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.1799, allocations: 80.72 kB / 0.516 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.18, allocations: 3.938 kB / 0.516 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.18, allocations: 3.984 kB / 0.516 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.18, allocations: 0 / 0.516 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.1803, allocations: 165.5 kB / 0.5162 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1803, allocations: 0 / 0.5162 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.677e-05/0.1803, allocations: 11.98 kB / 0.5162 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1804, allocations: 3.984 kB / 0.5162 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1804, allocations: 0 / 0.5162 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1804, allocations: 3.984 kB / 0.5162 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1804, allocations: 4.031 kB / 0.5162 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.1807, allocations: 167.4 kB / 0.5164 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.1807, allocations: 77.11 kB / 0.5164 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.1808, allocations: 4 kB / 0.5164 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.1808, allocations: 7.984 kB / 0.5165 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.1809, allocations: 4.031 kB / 0.5165 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.1809, allocations: 0 / 0.5165 GB, free: 56 kB / 398.1 MB Notification: Performance of sorting global known variables: time 9.317e-05/0.181, allocations: 87.27 kB / 0.5165 GB, free: 15.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.181, allocations: 0 / 0.5165 GB, free: 15.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000361/0.1814, allocations: 11.94 kB / 0.5166 GB, free: 15.96 MB / 414.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.0001839/0.1816, allocations: 95.25 kB / 0.5166 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.1818, allocations: 47.89 kB / 0.5167 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1818, allocations: 0 / 0.5167 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.785e-05/0.1819, allocations: 19.98 kB / 0.5167 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.1823, allocations: 3.938 kB / 0.5167 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.1826, allocations: 113.4 kB / 0.5168 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.1832, allocations: 0.6845 MB / 0.5175 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.681e-05/0.1832, allocations: 128 / 0.5175 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.1833, allocations: 11.44 kB / 0.5175 GB, free: 14.92 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1833, allocations: 0 / 0.5175 GB, free: 14.92 MB / 414.1 MB Notification: Performance of Templates: time 0.003533/0.1868, allocations: 0.6299 MB / 0.5181 GB, free: 14.29 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.171547549776733]