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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 116.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 212 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8743/0.8743, allocations: 133.9 MB / 443.5 MB, free: 13.88 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 72.33 kB / 0.6142 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1658, allocations: 85.85 MB / 0.698 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001735/0.1675, allocations: 0.5872 MB / 0.6986 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1691, allocations: 1.155 MB / 0.6997 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.1691, allocations: 0 / 0.6997 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.1691, allocations: 4.969 kB / 0.6997 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.1694, allocations: 26.27 kB / 0.6997 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.246e-06/0.1694, allocations: 0 / 0.6997 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.472e-05/0.1694, allocations: 6.891 kB / 0.6997 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.1695, allocations: 1.312 kB / 0.6997 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.55e-05/0.1695, allocations: 4.969 kB / 0.6997 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.126e-05/0.1695, allocations: 1.281 kB / 0.6997 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.873e-06/0.1695, allocations: 0 / 0.6997 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1696, allocations: 28.31 kB / 0.6998 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.46e-06/0.1696, allocations: 0 / 0.6998 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.483e-05/0.1696, allocations: 4.953 kB / 0.6998 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.343e-05/0.1697, allocations: 17.58 kB / 0.6998 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1697, allocations: 0 / 0.6998 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.337e-06/0.1697, allocations: 1.312 kB / 0.6998 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.1697, allocations: 0 / 0.6998 GB, free: 12.37 MB / 0.5137 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.0003513/0.1701, allocations: 323.8 kB / 0.7001 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1701, allocations: 11.23 kB / 0.7001 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.276e-05/0.1702, allocations: 192 / 0.7001 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.1702, allocations: 31.62 kB / 0.7001 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.347e-05/0.1702, allocations: 2.156 kB / 0.7001 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1703, allocations: 172.3 kB / 0.7003 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1703, allocations: 5.719 kB / 0.7003 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.1704, allocations: 1.562 kB / 0.7003 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1705, allocations: 37.94 kB / 0.7003 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1705, allocations: 3.984 kB / 0.7003 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.1705, allocations: 0.875 kB / 0.7003 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.1705, allocations: 0 / 0.7003 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.771e-05/0.1705, allocations: 8.031 kB / 0.7004 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.1707, allocations: 148.5 kB / 0.7005 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.1709, allocations: 41.39 kB / 0.7005 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.1709, allocations: 7.453 kB / 0.7005 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.1711, allocations: 85.11 kB / 0.7006 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.1711, allocations: 43.3 kB / 0.7007 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1711, allocations: 0 / 0.7007 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.004364/0.1755, allocations: 0.5695 MB / 0.7012 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.1755, allocations: 51.41 kB / 0.7013 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.1756, allocations: 91.23 kB / 0.7014 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.1756, allocations: 25.7 kB / 0.7014 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.1756, allocations: 80.14 kB / 0.7015 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.1757, allocations: 18.55 kB / 0.7015 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.1757, allocations: 21.83 kB / 0.7015 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1759, allocations: 324.1 kB / 0.7018 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006096/0.1765, allocations: 83.2 kB / 0.7019 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006046/0.1771, allocations: 107.2 kB / 0.702 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.1783, allocations: 192.2 kB / 0.7022 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1783, allocations: 0 / 0.7022 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001299/0.1796, allocations: 217.5 kB / 0.7024 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1796, allocations: 8 kB / 0.7024 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1796, allocations: 0 / 0.7024 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.1797, allocations: 0 / 0.7024 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.1801, allocations: 52 kB / 0.7024 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1801, allocations: 3.938 kB / 0.7024 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.1804, allocations: 43.97 kB / 0.7025 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.1805, allocations: 0 / 0.7025 GB, free: 10.04 MB / 0.5137 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.0001109/0.1806, allocations: 118.5 kB / 0.7026 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.1806, allocations: 3.938 kB / 0.7026 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.182, allocations: 233.1 kB / 0.7028 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.182, allocations: 0 / 0.7028 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.182, allocations: 0 / 0.7028 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.182, allocations: 0 / 0.7028 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.1836, allocations: 466.3 kB / 0.7033 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1837, allocations: 0 / 0.7033 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.184, allocations: 48.28 kB / 0.7033 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.1841, allocations: 4 kB / 0.7033 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1841, allocations: 7.984 kB / 0.7033 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1841, allocations: 0 / 0.7033 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1841, allocations: 0 / 0.7033 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.1854, allocations: 311.3 kB / 0.7036 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.1855, allocations: 81.09 kB / 0.7037 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.1855, allocations: 432 / 0.7037 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.1859, allocations: 39.98 kB / 0.7037 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.1859, allocations: 3.984 kB / 0.7037 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.1859, allocations: 4 kB / 0.7037 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.1859, allocations: 75.28 kB / 0.7038 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1859, allocations: 0 / 0.7038 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002601/0.1862, allocations: 15.94 kB / 0.7038 GB, free: 8.543 MB / 0.5137 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.001749/0.1879, allocations: 0.8373 MB / 0.7046 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.1892, allocations: 179.9 kB / 0.7048 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1892, allocations: 4.188 kB / 0.7048 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006032/0.1898, allocations: 91.89 kB / 0.7049 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.19, allocations: 5.031 kB / 0.7049 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.1914, allocations: 250.6 kB / 0.7052 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1917, allocations: 0.6805 MB / 0.7058 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.1919, allocations: 28 kB / 0.7058 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.192, allocations: 15.42 kB / 0.7059 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.192, allocations: 0 / 0.7059 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.209, allocations: 1.675 MB / 0.7075 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.413, allocations: 17.69 kB / 0.7075 GB, free: 4.852 MB / 0.5137 GB " [Timeout remaining time 651] (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 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.18748693302041] Failed to read output from testmodel.py, exit status != 0: 8.789575708971824 8.558782105 8.385348731 Calling exit ...