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.004035/0.004035, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001138/0.001138, allocations: 200.3 kB / 16.68 MB, free: 5.934 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8406/0.8406, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 74.81 kB / 0.5809 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1456, allocations: 80.21 MB / 0.6592 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001674/0.1473, allocations: 0.5804 MB / 0.6598 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1487, allocations: 1.111 MB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.652e-05/0.1488, allocations: 0 / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.109e-05/0.1488, allocations: 0 / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.149, allocations: 19.92 kB / 0.6609 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.895e-06/0.149, allocations: 0 / 0.6609 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.279e-05/0.1491, allocations: 11.88 kB / 0.6609 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.1491, allocations: 0 / 0.6609 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.384e-05/0.1492, allocations: 0 / 0.6609 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.462e-05/0.1492, allocations: 11.98 kB / 0.6609 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.813e-06/0.1492, allocations: 0 / 0.6609 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1493, allocations: 19.97 kB / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.1494, allocations: 3.938 kB / 0.661 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.486e-05/0.1494, allocations: 3.938 kB / 0.661 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.153e-05/0.1495, allocations: 19.91 kB / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1495, allocations: 0 / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1495, allocations: 4 kB / 0.661 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1495, allocations: 0 / 0.661 GB, free: 8.883 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.0003081/0.1498, allocations: 315.8 kB / 0.6613 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1499, allocations: 12.03 kB / 0.6613 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.1499, allocations: 38.73 kB / 0.6613 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.207e-05/0.1499, allocations: 4.938 kB / 0.6613 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.15, allocations: 160.4 kB / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.954e-06/0.15, allocations: 384 / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.1501, allocations: 384 / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.1502, allocations: 41.81 kB / 0.6615 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1502, allocations: 3.938 kB / 0.6615 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.1502, allocations: 0 / 0.6615 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1502, allocations: 4 kB / 0.6615 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.756e-05/0.1503, allocations: 8 kB / 0.6615 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.1505, allocations: 157.6 kB / 0.6617 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.1506, allocations: 34.61 kB / 0.6617 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.1507, allocations: 12.8 kB / 0.6617 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.1508, allocations: 81.11 kB / 0.6618 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.1509, allocations: 38.53 kB / 0.6619 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1509, allocations: 4 kB / 0.6619 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004475/0.1553, allocations: 0.5642 MB / 0.6624 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.1554, allocations: 59.39 kB / 0.6625 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.551e-05/0.1555, allocations: 89.86 kB / 0.6626 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.1555, allocations: 25.7 kB / 0.6626 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.1555, allocations: 80.14 kB / 0.6627 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.1556, allocations: 15.91 kB / 0.6627 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.1557, allocations: 25.7 kB / 0.6627 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1558, allocations: 310.8 kB / 0.663 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006391/0.1564, allocations: 83.95 kB / 0.6631 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006707/0.1571, allocations: 102.5 kB / 0.6632 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.1584, allocations: 194.4 kB / 0.6634 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1584, allocations: 0 / 0.6634 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001314/0.1597, allocations: 217.5 kB / 0.6636 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1598, allocations: 12.06 kB / 0.6636 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1598, allocations: 0 / 0.6636 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1598, allocations: 0 / 0.6636 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.1602, allocations: 51.97 kB / 0.6636 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1602, allocations: 0 / 0.6636 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.1606, allocations: 43.97 kB / 0.6637 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.1606, allocations: 7.984 kB / 0.6637 GB, free: 5.863 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 9.35e-05/0.1607, allocations: 118.6 kB / 0.6638 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.1608, allocations: 3.938 kB / 0.6638 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.1622, allocations: 245.2 kB / 0.664 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1622, allocations: 0 / 0.664 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1622, allocations: 4.062 kB / 0.664 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.1623, allocations: 0 / 0.664 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.1638, allocations: 458.4 kB / 0.6645 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1638, allocations: 0 / 0.6645 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.1642, allocations: 47.97 kB / 0.6645 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1643, allocations: 4 kB / 0.6645 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1643, allocations: 0 / 0.6645 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1643, allocations: 0 / 0.6645 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1643, allocations: 11.92 kB / 0.6645 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.1657, allocations: 299.4 kB / 0.6648 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.1657, allocations: 85.05 kB / 0.6649 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.1657, allocations: 3.938 kB / 0.6649 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.1661, allocations: 43.98 kB / 0.6649 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.1662, allocations: 0 / 0.6649 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.1662, allocations: 7.984 kB / 0.6649 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.183e-05/0.1662, allocations: 75.28 kB / 0.665 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1662, allocations: 4 kB / 0.665 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002676/0.1665, allocations: 8 kB / 0.665 GB, free: 4.359 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.001693/0.1682, allocations: 0.8335 MB / 0.6658 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.1695, allocations: 183.9 kB / 0.666 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1695, allocations: 0 / 0.666 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000633/0.1702, allocations: 92.08 kB / 0.6661 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.1704, allocations: 4 kB / 0.6661 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.1718, allocations: 246.4 kB / 0.6663 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.1721, allocations: 0.6768 MB / 0.667 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001802/0.1723, allocations: 32.31 kB / 0.667 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.1723, allocations: 15.42 kB / 0.667 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.1723, allocations: 0 / 0.667 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2827/0.4551, allocations: 1.617 MB / 0.6686 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.994/8.449, allocations: 13.09 kB / 0.6686 GB, free: 0.7031 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)