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.007384/0.007384, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001425/0.001425, allocations: 196.8 kB / 16.68 MB, free: 5.965 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8345/0.8345, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 71.69 kB / 0.5809 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1554, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001662/0.1571, allocations: 0.5861 MB / 0.6598 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1584, allocations: 1.103 MB / 0.6609 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.1584, allocations: 0 / 0.6609 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.221e-05/0.1585, allocations: 4 kB / 0.6609 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.1587, allocations: 27.91 kB / 0.6609 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.15e-06/0.1587, allocations: 0 / 0.6609 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.697e-05/0.1588, allocations: 7.938 kB / 0.6609 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.1588, allocations: 0 / 0.6609 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.236e-05/0.1588, allocations: 0 / 0.6609 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.153e-05/0.1589, allocations: 11.88 kB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.442e-06/0.1589, allocations: 0 / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.159, allocations: 23.95 kB / 0.661 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.831e-06/0.159, allocations: 0 / 0.661 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.159, allocations: 7.938 kB / 0.661 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.37e-05/0.1591, allocations: 11.98 kB / 0.661 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1591, allocations: 3.938 kB / 0.661 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.522e-06/0.1591, allocations: 4 kB / 0.661 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.1591, allocations: 0 / 0.661 GB, free: 8.926 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.0002574/0.1594, allocations: 319.6 kB / 0.6613 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1594, allocations: 8.031 kB / 0.6613 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.788e-05/0.1595, allocations: 30.75 kB / 0.6613 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/0.1595, allocations: 4.938 kB / 0.6613 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.258e-05/0.1596, allocations: 160.4 kB / 0.6615 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.1596, allocations: 4.375 kB / 0.6615 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.1596, allocations: 384 / 0.6615 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.289e-05/0.1597, allocations: 41.81 kB / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1597, allocations: 0 / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1597, allocations: 4 kB / 0.6615 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1598, allocations: 0 / 0.6615 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.374e-05/0.1598, allocations: 7.938 kB / 0.6615 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.1599, allocations: 153.7 kB / 0.6617 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.1601, allocations: 42.55 kB / 0.6617 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.1601, allocations: 8.859 kB / 0.6617 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.1603, allocations: 81.11 kB / 0.6618 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.1603, allocations: 38.58 kB / 0.6618 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1603, allocations: 0 / 0.6618 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004363/0.1647, allocations: 0.5703 MB / 0.6624 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.1647, allocations: 59.41 kB / 0.6625 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.977e-05/0.1648, allocations: 89.86 kB / 0.6625 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1648, allocations: 25.7 kB / 0.6626 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.1648, allocations: 84.08 kB / 0.6626 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.1649, allocations: 16.38 kB / 0.6627 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.1649, allocations: 21.7 kB / 0.6627 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.165, allocations: 310.8 kB / 0.663 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005931/0.1656, allocations: 83.95 kB / 0.6631 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005959/0.1662, allocations: 106.5 kB / 0.6632 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.1674, allocations: 194.4 kB / 0.6633 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1674, allocations: 0 / 0.6633 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00121/0.1686, allocations: 213.5 kB / 0.6636 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.1686, allocations: 8 kB / 0.6636 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1686, allocations: 3.938 kB / 0.6636 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1687, allocations: 0 / 0.6636 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.1691, allocations: 52.42 kB / 0.6636 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1691, allocations: 0 / 0.6636 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.1694, allocations: 43.97 kB / 0.6637 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.1694, allocations: 4.188 kB / 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 8.68e-05/0.1695, allocations: 118.9 kB / 0.6638 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.1696, allocations: 3.938 kB / 0.6638 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.1709, allocations: 249 kB / 0.664 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1709, allocations: 3.984 kB / 0.664 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.171, allocations: 0 / 0.664 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.171, allocations: 0 / 0.664 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.1724, allocations: 454.5 kB / 0.6645 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1724, allocations: 0 / 0.6645 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.1728, allocations: 51.91 kB / 0.6645 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1728, allocations: 4 kB / 0.6645 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.1729, allocations: 3.984 kB / 0.6645 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1729, allocations: 3.938 kB / 0.6645 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1729, allocations: 0 / 0.6645 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.1741, allocations: 303.4 kB / 0.6648 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.1742, allocations: 81.09 kB / 0.6649 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.1742, allocations: 0 / 0.6649 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.1746, allocations: 43.98 kB / 0.6649 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.1746, allocations: 0 / 0.6649 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1746, allocations: 7.984 kB / 0.6649 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.874e-05/0.1746, allocations: 75.28 kB / 0.665 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1746, allocations: 0 / 0.665 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002665/0.1749, allocations: 8 kB / 0.665 GB, free: 4.422 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.00151/0.1764, allocations: 0.8453 MB / 0.6658 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.1776, allocations: 179.8 kB / 0.666 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1777, allocations: 4.188 kB / 0.666 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005632/0.1782, allocations: 91.95 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.000223/0.1785, allocations: 2.406 kB / 0.6661 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.1798, allocations: 250.4 kB / 0.6663 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1802, allocations: 0.6768 MB / 0.667 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.1804, allocations: 28 kB / 0.667 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.702e-05/0.1805, allocations: 15.42 kB / 0.667 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1805, allocations: 0 / 0.667 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.1981, allocations: 1.628 MB / 0.6686 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.428/7.626, allocations: 7.359 kB / 0.6686 GB, free: 0.7539 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)