Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005511/0.005511, allocations: 102.3 kB / 15.73 MB, free: 6.059 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.001319/0.001319, allocations: 191.4 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8292/0.8292, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 72.23 kB / 0.5809 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1528, allocations: 80.22 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001785/0.1546, allocations: 0.5738 MB / 0.6598 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.1562, allocations: 1.107 MB / 0.6609 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.1562, allocations: 0 / 0.6609 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.1563, allocations: 3.938 kB / 0.6609 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.1566, allocations: 23.92 kB / 0.6609 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.008e-06/0.1566, allocations: 0 / 0.6609 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.783e-05/0.1566, allocations: 7.938 kB / 0.6609 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.1567, allocations: 3.984 kB / 0.6609 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.738e-05/0.1567, allocations: 3.984 kB / 0.6609 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.389e-05/0.1567, allocations: 4 kB / 0.6609 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.933e-06/0.1568, allocations: 0 / 0.6609 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.1569, allocations: 27.92 kB / 0.661 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.492e-06/0.1569, allocations: 0 / 0.661 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.1569, allocations: 3.938 kB / 0.661 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.454e-05/0.157, allocations: 11.97 kB / 0.661 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.157, allocations: 3.938 kB / 0.661 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.157, allocations: 0 / 0.661 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.157, allocations: 4 kB / 0.661 GB, free: 8.93 MB / 0.4981 GB 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.0002934/0.1573, allocations: 319.6 kB / 0.6613 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1574, allocations: 8.031 kB / 0.6613 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.1574, allocations: 34.75 kB / 0.6613 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.1575, allocations: 4.938 kB / 0.6613 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.532e-05/0.1576, allocations: 160.4 kB / 0.6615 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1576, allocations: 384 / 0.6615 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1576, allocations: 4.375 kB / 0.6615 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.469e-05/0.1577, allocations: 41.75 kB / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1577, allocations: 0 / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1578, allocations: 0 / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1578, allocations: 7.938 kB / 0.6615 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.393e-05/0.1578, allocations: 7.984 kB / 0.6615 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.158, allocations: 149.7 kB / 0.6617 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.1581, allocations: 34.61 kB / 0.6617 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.1582, allocations: 12.8 kB / 0.6617 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.1583, allocations: 89.17 kB / 0.6618 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1583, allocations: 38.5 kB / 0.6619 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1583, allocations: 0 / 0.6619 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004223/0.1626, allocations: 0.5742 MB / 0.6624 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1626, allocations: 59.41 kB / 0.6625 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.433e-05/0.1627, allocations: 89.86 kB / 0.6626 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1627, allocations: 25.7 kB / 0.6626 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.1627, allocations: 80.14 kB / 0.6627 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.1628, allocations: 8.375 kB / 0.6627 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.1629, allocations: 25.7 kB / 0.6627 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.163, allocations: 314.8 kB / 0.663 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006084/0.1636, allocations: 83.95 kB / 0.6631 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/0.1642, allocations: 106.5 kB / 0.6632 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.1653, allocations: 190.4 kB / 0.6634 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1653, allocations: 0 / 0.6634 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001198/0.1665, allocations: 217.5 kB / 0.6636 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1666, allocations: 8 kB / 0.6636 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1666, allocations: 4.062 kB / 0.6636 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1666, allocations: 0 / 0.6636 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.167, allocations: 47.97 kB / 0.6636 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.167, allocations: 4 kB / 0.6636 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.1674, allocations: 43.97 kB / 0.6637 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1674, allocations: 0 / 0.6637 GB, free: 5.918 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001023/0.1675, allocations: 122.9 kB / 0.6638 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.1675, allocations: 7.875 kB / 0.6638 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.1689, allocations: 233 kB / 0.664 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1689, allocations: 4 kB / 0.664 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1689, allocations: 4 kB / 0.664 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1689, allocations: 0 / 0.664 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.1703, allocations: 458.4 kB / 0.6645 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.1703, allocations: 3.984 kB / 0.6645 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.1707, allocations: 47.92 kB / 0.6645 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/0.1707, allocations: 4 kB / 0.6645 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.1708, allocations: 4.297 kB / 0.6645 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1708, allocations: 0 / 0.6645 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.1708, allocations: 7.984 kB / 0.6645 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.172, allocations: 315.3 kB / 0.6648 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.172, allocations: 77.11 kB / 0.6649 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.1721, allocations: 0 / 0.6649 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.1724, allocations: 39.98 kB / 0.6649 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.1724, allocations: 3.984 kB / 0.6649 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1725, allocations: 4 kB / 0.6649 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.759e-05/0.1725, allocations: 75.28 kB / 0.665 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1725, allocations: 0 / 0.665 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002507/0.1728, allocations: 16 kB / 0.665 GB, free: 4.406 MB / 0.4981 GB 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 (5): * Single equations (assignments): 5 * 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.001529/0.1743, allocations: 0.8296 MB / 0.6658 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.1755, allocations: 183.9 kB / 0.666 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1755, allocations: 0 / 0.666 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000577/0.1761, allocations: 92.02 kB / 0.6661 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.1763, allocations: 8 kB / 0.6661 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.1776, allocations: 250.4 kB / 0.6663 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.1779, allocations: 0.6729 MB / 0.667 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000172/0.1781, allocations: 28 kB / 0.667 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.382e-05/0.1782, allocations: 15.42 kB / 0.667 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1782, allocations: 0 / 0.667 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.1945, allocations: 1.62 MB / 0.6686 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.301/7.496, allocations: 10.48 kB / 0.6686 GB, free: 0.7578 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)