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.00157/0.00157, allocations: 107.2 kB / 17.54 MB, free: 4.641 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.001373/0.001373, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.638/1.638, allocations: 207.6 MB / 231.3 MB, free: 3.156 MB / 174.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.4579/0.4579, allocations: 55.7 MB / 339.1 MB, free: 11.91 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.002322/0.002322, allocations: 74.77 kB / 479.8 MB, free: 36.64 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1434, allocations: 62.86 MB / 0.53 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothHeaviside): time 0.003556/0.1469, allocations: 1.421 MB / 0.5314 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004317/0.1474, allocations: 115.6 kB / 0.5315 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.1474, allocations: 3.938 kB / 0.5315 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.1475, allocations: 7.922 kB / 0.5315 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.065e-05/0.1475, allocations: 3.938 kB / 0.5315 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1478, allocations: 23.92 kB / 0.5315 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.772e-05/0.1479, allocations: 15.98 kB / 0.5315 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.148, allocations: 8 kB / 0.5315 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.191e-05/0.1481, allocations: 15.86 kB / 0.5316 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.1481, allocations: 19.97 kB / 0.5316 GB, free: 10 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.1481, allocations: 0 / 0.5316 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1482, allocations: 27.98 kB / 0.5316 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.1482, allocations: 7.922 kB / 0.5316 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.1483, allocations: 11.94 kB / 0.5316 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.1484, allocations: 43.88 kB / 0.5317 GB, free: 9.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1484, allocations: 0 / 0.5317 GB, free: 9.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1484, allocations: 3.938 kB / 0.5317 GB, free: 9.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1484, allocations: 0 / 0.5317 GB, free: 9.91 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.0006197/0.1491, allocations: 347.4 kB / 0.532 GB, free: 9.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1491, allocations: 8.031 kB / 0.532 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.1491, allocations: 8.891 kB / 0.532 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.1493, allocations: 164.3 kB / 0.5322 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1493, allocations: 4.375 kB / 0.5322 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.1493, allocations: 384 / 0.5322 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.1495, allocations: 53.61 kB / 0.5322 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1495, allocations: 0 / 0.5322 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1496, allocations: 4 kB / 0.5322 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1496, allocations: 4 kB / 0.5322 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.1497, allocations: 35.89 kB / 0.5323 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.1501, allocations: 248.9 kB / 0.5325 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.1503, allocations: 38.55 kB / 0.5325 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.335e-05/0.1504, allocations: 24.91 kB / 0.5326 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004702/0.1508, allocations: 202.1 kB / 0.5328 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.1509, allocations: 34.5 kB / 0.5328 GB, free: 8.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 3.687e-06/0.1509, allocations: 3.984 kB / 0.5328 GB, free: 8.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004026/0.1513, allocations: 89.59 kB / 0.5329 GB, free: 8.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.1513, allocations: 51.41 kB / 0.5329 GB, free: 8.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1515, allocations: 105.8 kB / 0.533 GB, free: 8.285 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.1515, allocations: 25.7 kB / 0.5331 GB, free: 8.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.1515, allocations: 80.14 kB / 0.5331 GB, free: 8.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.1516, allocations: 7.953 kB / 0.5331 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.1516, allocations: 13.72 kB / 0.5332 GB, free: 8.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.1518, allocations: 318.9 kB / 0.5335 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.697e-05/0.1519, allocations: 19.97 kB / 0.5335 GB, free: 7.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.152, allocations: 19.92 kB / 0.5335 GB, free: 7.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.1521, allocations: 40.77 kB / 0.5335 GB, free: 7.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1521, allocations: 0 / 0.5335 GB, free: 7.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002088/0.1523, allocations: 69.72 kB / 0.5336 GB, free: 7.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.1524, allocations: 10.19 kB / 0.5336 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1524, allocations: 3.938 kB / 0.5336 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.1524, allocations: 0 / 0.5336 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.1525, allocations: 7.984 kB / 0.5336 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.1525, allocations: 4 kB / 0.5336 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.1525, allocations: 4 kB / 0.5336 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1525, allocations: 3.984 kB / 0.5336 GB, free: 7.637 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 0.0001049/0.1526, allocations: 113.8 kB / 0.5337 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.1527, allocations: 4.25 kB / 0.5337 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.1529, allocations: 72.72 kB / 0.5338 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1529, allocations: 0 / 0.5338 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1529, allocations: 4 kB / 0.5338 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.153, allocations: 0 / 0.5338 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.1532, allocations: 169.5 kB / 0.534 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1532, allocations: 4.031 kB / 0.534 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.1532, allocations: 4 kB / 0.534 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1532, allocations: 0 / 0.534 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1532, allocations: 7.984 kB / 0.534 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1532, allocations: 0 / 0.534 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1532, allocations: 0 / 0.534 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.1535, allocations: 171.4 kB / 0.5342 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.242e-05/0.1536, allocations: 77.11 kB / 0.5342 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1536, allocations: 0 / 0.5342 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.1537, allocations: 4 kB / 0.5342 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.1537, allocations: 11.98 kB / 0.5343 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1537, allocations: 0 / 0.5343 GB, free: 6.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.527e-05/0.1538, allocations: 79.28 kB / 0.5343 GB, free: 6.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1538, allocations: 0 / 0.5343 GB, free: 6.828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.154, allocations: 11.94 kB / 0.5343 GB, free: 6.816 MB / 398.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.0002134/0.1542, allocations: 103.3 kB / 0.5344 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.1545, allocations: 39.91 kB / 0.5345 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.1545, allocations: 4 kB / 0.5345 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.481e-05/0.1546, allocations: 19.91 kB / 0.5345 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.1549, allocations: 4 kB / 0.5345 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.1553, allocations: 113.6 kB / 0.5346 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.1557, allocations: 0.6845 MB / 0.5353 GB, free: 5.785 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.963e-05/0.1557, allocations: 7.969 kB / 0.5353 GB, free: 5.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.1557, allocations: 7.438 kB / 0.5353 GB, free: 5.77 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1557, allocations: 0 / 0.5353 GB, free: 5.77 MB / 398.1 MB Notification: Performance of Templates: time 0.003849/0.1596, allocations: 0.6378 MB / 0.5359 GB, free: 5.133 MB / 398.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.50502622500062]