Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_dev_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.00167/0.001669, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9216/0.9216, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.69 kB / 0.5055 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.143, allocations: 80.93 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002497/0.1455, allocations: 0.5776 MB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1473, allocations: 1.098 MB / 0.5861 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.1473, allocations: 4 kB / 0.5861 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.1474, allocations: 3.938 kB / 0.5861 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.1476, allocations: 19.92 kB / 0.5862 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.148e-06/0.1476, allocations: 0 / 0.5862 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.684e-05/0.1477, allocations: 0 / 0.5862 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.1477, allocations: 4 kB / 0.5862 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.657e-05/0.1477, allocations: 3.938 kB / 0.5862 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.345e-05/0.1478, allocations: 3.984 kB / 0.5862 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.614e-06/0.1478, allocations: 0 / 0.5862 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1479, allocations: 19.92 kB / 0.5862 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-06/0.1479, allocations: 4 kB / 0.5862 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.1479, allocations: 11.92 kB / 0.5862 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.486e-05/0.148, allocations: 15.98 kB / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.148, allocations: 0 / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.148, allocations: 0 / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1481, allocations: 3.938 kB / 0.5862 GB, free: 2.652 MB / 494.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.0003104/0.1484, allocations: 323.6 kB / 0.5865 GB, free: 2.289 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.1484, allocations: 12.03 kB / 0.5865 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.1485, allocations: 34.69 kB / 0.5866 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.1485, allocations: 0.9375 kB / 0.5866 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1486, allocations: 168.4 kB / 0.5867 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1487, allocations: 384 / 0.5867 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.1487, allocations: 8.281 kB / 0.5867 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.1488, allocations: 37.83 kB / 0.5868 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1489, allocations: 3.984 kB / 0.5868 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1489, allocations: 0 / 0.5868 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.1489, allocations: 4 kB / 0.5868 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.451e-05/0.149, allocations: 4 kB / 0.5868 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.1491, allocations: 153.7 kB / 0.5869 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.1493, allocations: 42.5 kB / 0.587 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.1494, allocations: 12.94 kB / 0.587 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.1495, allocations: 77.11 kB / 0.5871 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.1496, allocations: 38.5 kB / 0.5871 GB, free: 1.562 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1496, allocations: 0 / 0.5871 GB, free: 1.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.004399/0.154, allocations: 0.5679 MB / 0.5877 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.154, allocations: 55.41 kB / 0.5877 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.012e-05/0.1541, allocations: 93.8 kB / 0.5878 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1541, allocations: 25.7 kB / 0.5878 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.673e-05/0.1541, allocations: 84.14 kB / 0.5879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.1542, allocations: 15.8 kB / 0.5879 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.1542, allocations: 17.72 kB / 0.5879 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.113e-05/0.1543, allocations: 314.8 kB / 0.5882 GB, free: 356 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006228/0.155, allocations: 87.95 kB / 0.5883 GB, free: 268 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006163/0.1556, allocations: 102.5 kB / 0.5884 GB, free: 156 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.1568, allocations: 186.5 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1569, allocations: 0 / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001354/0.1582, allocations: 221.4 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1582, allocations: 8 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1583, allocations: 0 / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1583, allocations: 0 / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.1587, allocations: 55.94 kB / 0.5889 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1587, allocations: 0 / 0.5889 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.1591, allocations: 43.98 kB / 0.5889 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.1591, allocations: 0 / 0.5889 GB, free: 15.63 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.031e-05/0.1592, allocations: 113.8 kB / 0.589 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.1592, allocations: 3.938 kB / 0.589 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.1606, allocations: 237.1 kB / 0.5892 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1607, allocations: 11.88 kB / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1607, allocations: 0 / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1607, allocations: 0 / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.1622, allocations: 450.7 kB / 0.5897 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1622, allocations: 8.062 kB / 0.5897 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.1626, allocations: 43.97 kB / 0.5897 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1626, allocations: 0 / 0.5897 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1627, allocations: 8 kB / 0.5897 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1627, allocations: 3.938 kB / 0.5897 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1627, allocations: 0 / 0.5897 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.164, allocations: 303.4 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.1641, allocations: 81.02 kB / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.1641, allocations: 0 / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.1645, allocations: 47.97 kB / 0.5902 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.1645, allocations: 0 / 0.5902 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.1645, allocations: 3.938 kB / 0.5902 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.551e-05/0.1645, allocations: 83.28 kB / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1646, allocations: 0 / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002538/0.1648, allocations: 11.98 kB / 0.5903 GB, free: 14.14 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.001636/0.1665, allocations: 0.849 MB / 0.5911 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.1678, allocations: 175.9 kB / 0.5912 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1678, allocations: 0 / 0.5912 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000642/0.1684, allocations: 96.06 kB / 0.5913 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.1687, allocations: 4 kB / 0.5913 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.17, allocations: 246.5 kB / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.1702, allocations: 0.6768 MB / 0.5922 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002171/0.1705, allocations: 28 kB / 0.5923 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.1705, allocations: 11.44 kB / 0.5923 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1705, allocations: 0 / 0.5923 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.1862, allocations: 1.612 MB / 0.5939 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/7.976, allocations: 1.25 kB / 0.5939 GB, free: 10.48 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)