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.001719/0.001719, allocations: 102.4 kB / 16.45 MB, free: 6.5 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.002243/0.002243, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.462/1.462, allocations: 230.6 MB / 252.8 MB, free: 9 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.8598/0.8598, allocations: 133.9 MB / 442.8 MB, free: 11.34 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="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"}) [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.001925/0.001925, allocations: 66.78 kB / 0.6135 GB, free: 8.754 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1725, allocations: 85.86 MB / 0.6973 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001955/0.1745, allocations: 0.5771 MB / 0.6979 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.1762, allocations: 1.155 MB / 0.699 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.1763, allocations: 4 kB / 0.699 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.1763, allocations: 0 / 0.699 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.1766, allocations: 19.91 kB / 0.699 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.891e-06/0.1766, allocations: 0 / 0.699 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.999e-05/0.1767, allocations: 4 kB / 0.699 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.508e-05/0.1767, allocations: 0 / 0.699 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.972e-05/0.1767, allocations: 7.938 kB / 0.699 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.496e-05/0.1768, allocations: 7.922 kB / 0.699 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.1768, allocations: 4 kB / 0.6991 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1769, allocations: 19.97 kB / 0.6991 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.043e-06/0.177, allocations: 0 / 0.6991 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.177, allocations: 7.938 kB / 0.6991 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.1771, allocations: 20.19 kB / 0.6991 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1771, allocations: 0 / 0.6991 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.776e-06/0.1771, allocations: 3.938 kB / 0.6991 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.1771, allocations: 3.938 kB / 0.6991 GB, free: 1.121 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.0004445/0.1776, allocations: 319.5 kB / 0.6994 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.1776, allocations: 17.11 kB / 0.6994 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.1776, allocations: 30.75 kB / 0.6995 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.1777, allocations: 4.891 kB / 0.6995 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.1778, allocations: 160.4 kB / 0.6996 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1779, allocations: 384 / 0.6996 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.1779, allocations: 8.359 kB / 0.6996 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.178, allocations: 41.81 kB / 0.6997 GB, free: 464 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.178, allocations: 0 / 0.6997 GB, free: 464 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.178, allocations: 0 / 0.6997 GB, free: 464 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.178, allocations: 0 / 0.6997 GB, free: 464 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.27e-05/0.178, allocations: 11.94 kB / 0.6997 GB, free: 452 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.1782, allocations: 153.7 kB / 0.6998 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1784, allocations: 30.61 kB / 0.6998 GB, free: 208 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.1784, allocations: 12.86 kB / 0.6999 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.1786, allocations: 85.19 kB / 0.6999 GB, free: 88 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.1786, allocations: 34.5 kB / 0.7 GB, free: 44 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1786, allocations: 4 kB / 0.7 GB, free: 40 kB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.004459/0.1831, allocations: 0.5716 MB / 0.7005 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.1831, allocations: 55.34 kB / 0.7006 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.382e-05/0.1832, allocations: 89.86 kB / 0.7007 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.1832, allocations: 25.7 kB / 0.7007 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.1832, allocations: 84.14 kB / 0.7008 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.1833, allocations: 19.8 kB / 0.7008 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.1833, allocations: 25.7 kB / 0.7008 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1835, allocations: 310.8 kB / 0.7011 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/0.1841, allocations: 83.95 kB / 0.7012 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/0.1848, allocations: 98.53 kB / 0.7013 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.186, allocations: 194.4 kB / 0.7015 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.186, allocations: 0 / 0.7015 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001334/0.1873, allocations: 213.5 kB / 0.7017 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1874, allocations: 12.06 kB / 0.7017 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1874, allocations: 0 / 0.7017 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1874, allocations: 0 / 0.7017 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.1878, allocations: 55.91 kB / 0.7017 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1878, allocations: 0 / 0.7017 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.1882, allocations: 47.97 kB / 0.7018 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.1882, allocations: 0 / 0.7018 GB, free: 14.1 MB / 0.5294 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.0001065/0.1883, allocations: 109.8 kB / 0.7019 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.1883, allocations: 3.938 kB / 0.7019 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.1898, allocations: 245 kB / 0.7021 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1898, allocations: 4 kB / 0.7021 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1898, allocations: 0 / 0.7021 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1898, allocations: 0 / 0.7021 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.1914, allocations: 458.3 kB / 0.7026 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1914, allocations: 0 / 0.7026 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.1918, allocations: 48.39 kB / 0.7026 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1918, allocations: 4.312 kB / 0.7026 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.1918, allocations: 3.984 kB / 0.7026 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1918, allocations: 4 kB / 0.7026 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1918, allocations: 0 / 0.7026 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.1932, allocations: 307.4 kB / 0.7029 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.1932, allocations: 81.09 kB / 0.703 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1932, allocations: 0 / 0.703 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.1936, allocations: 43.98 kB / 0.703 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.1936, allocations: 7.922 kB / 0.7031 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.1937, allocations: 4 kB / 0.7031 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.958e-05/0.1937, allocations: 75.28 kB / 0.7031 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1937, allocations: 4 kB / 0.7031 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002516/0.1939, allocations: 8 kB / 0.7031 GB, free: 12.61 MB / 0.5294 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.00175/0.1957, allocations: 0.8335 MB / 0.704 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.1971, allocations: 187.9 kB / 0.7041 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1971, allocations: 0 / 0.7041 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006374/0.1977, allocations: 92.08 kB / 0.7042 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.1979, allocations: 7.938 kB / 0.7042 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.1993, allocations: 242.6 kB / 0.7045 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1996, allocations: 0.6844 MB / 0.7051 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.1998, allocations: 28 kB / 0.7052 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.1999, allocations: 19.36 kB / 0.7052 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.1999, allocations: 0 / 0.7052 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.2241, allocations: 1.636 MB / 0.7068 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/8.004, allocations: 12.03 kB / 0.7068 GB, free: 8.93 MB / 0.5294 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 11.708177553999121] Failed to read output from testmodel.py, exit status != 0: 8.073468802991556 8.101944137 7.919803216 Calling exit ...