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.006699/0.006699, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.00117/0.00117, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.591/1.591, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4623/0.4623, allocations: 54.96 MB / 324.8 MB, free: 15.96 MB / 270.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.001495/0.001495, allocations: 68.31 kB / 456.2 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1496, allocations: 59.6 MB / 0.5037 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothHeaviside): time 0.002488/0.1521, allocations: 1.392 MB / 0.5051 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003442/0.1525, allocations: 112.5 kB / 0.5052 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.1525, allocations: 5.375 kB / 0.5052 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.1526, allocations: 7.922 kB / 0.5052 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.98e-05/0.1526, allocations: 0 / 0.5052 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.1529, allocations: 28.17 kB / 0.5052 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.929e-05/0.153, allocations: 25.55 kB / 0.5052 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1531, allocations: 6.734 kB / 0.5053 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.006e-05/0.1531, allocations: 16.05 kB / 0.5053 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.077e-05/0.1532, allocations: 10.67 kB / 0.5053 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1532, allocations: 6.75 kB / 0.5053 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.793e-05/0.1533, allocations: 27.11 kB / 0.5053 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.1533, allocations: 7.984 kB / 0.5053 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.1534, allocations: 6.688 kB / 0.5053 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.1535, allocations: 40.25 kB / 0.5054 GB, free: 8.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1535, allocations: 0 / 0.5054 GB, free: 8.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1535, allocations: 1.375 kB / 0.5054 GB, free: 8.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.1535, allocations: 0 / 0.5054 GB, free: 8.461 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.0004004/0.1539, allocations: 341.2 kB / 0.5057 GB, free: 8.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.154, allocations: 13.62 kB / 0.5057 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.154, allocations: 6.312 kB / 0.5057 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.749e-05/0.1541, allocations: 174.9 kB / 0.5059 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1541, allocations: 384 / 0.5059 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.1542, allocations: 1.75 kB / 0.5059 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.1543, allocations: 56.59 kB / 0.5059 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1544, allocations: 1.375 kB / 0.5059 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1544, allocations: 0 / 0.5059 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1544, allocations: 0 / 0.5059 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1545, allocations: 39.2 kB / 0.506 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.1548, allocations: 253.2 kB / 0.5062 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.155, allocations: 40.25 kB / 0.5062 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.01e-05/0.1551, allocations: 26.41 kB / 0.5063 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003771/0.1555, allocations: 204.9 kB / 0.5065 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.1555, allocations: 30.56 kB / 0.5065 GB, free: 7.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.031e-06/0.1555, allocations: 1.25 kB / 0.5065 GB, free: 7.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003343/0.1558, allocations: 88.45 kB / 0.5066 GB, free: 7.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.1559, allocations: 52.53 kB / 0.5066 GB, free: 7.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.418e-05/0.1559, allocations: 103.6 kB / 0.5067 GB, free: 6.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.1559, allocations: 25.7 kB / 0.5068 GB, free: 6.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.156, allocations: 85.42 kB / 0.5068 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.156, allocations: 5.25 kB / 0.5068 GB, free: 6.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.156, allocations: 12.69 kB / 0.5069 GB, free: 6.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.688e-05/0.1561, allocations: 316.2 kB / 0.5072 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.746e-05/0.1562, allocations: 24.97 kB / 0.5072 GB, free: 6.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.404e-05/0.1563, allocations: 17.02 kB / 0.5072 GB, free: 6.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.1564, allocations: 40.45 kB / 0.5072 GB, free: 6.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1564, allocations: 0 / 0.5072 GB, free: 6.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001591/0.1566, allocations: 72.53 kB / 0.5073 GB, free: 6.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1566, allocations: 5.156 kB / 0.5073 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1566, allocations: 0 / 0.5073 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1566, allocations: 1.719 kB / 0.5073 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.334e-05/0.1567, allocations: 9.266 kB / 0.5073 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1567, allocations: 0.7188 kB / 0.5073 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.1568, allocations: 7.797 kB / 0.5073 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1568, allocations: 1.219 kB / 0.5073 GB, free: 6.422 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.813e-05/0.1568, allocations: 119.2 kB / 0.5074 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.1569, allocations: 5.219 kB / 0.5074 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.1571, allocations: 71.55 kB / 0.5075 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1571, allocations: 0 / 0.5075 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1571, allocations: 3.938 kB / 0.5075 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1571, allocations: 1.062 kB / 0.5075 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.1572, allocations: 162 kB / 0.5077 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1572, allocations: 1.125 kB / 0.5077 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-05/0.1573, allocations: 13.59 kB / 0.5077 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1573, allocations: 3.984 kB / 0.5077 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.1573, allocations: 1.125 kB / 0.5077 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1573, allocations: 0 / 0.5077 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1573, allocations: 1.094 kB / 0.5077 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.1575, allocations: 163.8 kB / 0.5079 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.1575, allocations: 77.36 kB / 0.5079 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.1576, allocations: 1.281 kB / 0.5079 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.1576, allocations: 11.41 kB / 0.5079 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.1577, allocations: 5.516 kB / 0.5079 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.1577, allocations: 5.125 kB / 0.5079 GB, free: 5.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.375e-05/0.1577, allocations: 79.06 kB / 0.508 GB, free: 5.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.042e-06/0.1577, allocations: 0 / 0.508 GB, free: 5.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.158, allocations: 20.12 kB / 0.508 GB, free: 5.672 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.000166/0.1581, allocations: 112.2 kB / 0.5081 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.1584, allocations: 37.25 kB / 0.5082 GB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1584, allocations: 5.156 kB / 0.5082 GB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.39e-05/0.1585, allocations: 19.19 kB / 0.5082 GB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.1589, allocations: 6.688 kB / 0.5082 GB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.1593, allocations: 115.2 kB / 0.5083 GB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.1594, allocations: 0.6772 MB / 0.509 GB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.814e-05/0.1595, allocations: 5.547 kB / 0.509 GB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.1595, allocations: 9.031 kB / 0.509 GB, free: 4.699 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1595, allocations: 0 / 0.509 GB, free: 4.699 MB / 382.1 MB Notification: Performance of Templates: time 0.003072/0.1626, allocations: 0.6351 MB / 0.5096 GB, free: 4.371 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)