Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.001288/0.001288, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001328/0.001328, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.458/1.458, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.8511/0.8511, allocations: 134 MB / 442.8 MB, free: 11.28 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.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",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.001949/0.001949, allocations: 67.95 kB / 0.6134 GB, free: 8.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1813, allocations: 85.86 MB / 0.6973 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002765/0.184, allocations: 1.452 MB / 0.6987 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008939/0.1849, allocations: 0.5039 MB / 0.6992 GB, free: 1 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.185, allocations: 0 / 0.6992 GB, free: 1 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.185, allocations: 3.938 kB / 0.6992 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.149e-05/0.1851, allocations: 3.938 kB / 0.6992 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.1853, allocations: 23.97 kB / 0.6992 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.685e-05/0.1854, allocations: 23.92 kB / 0.6992 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1855, allocations: 7.984 kB / 0.6992 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/0.1855, allocations: 15.88 kB / 0.6993 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.582e-05/0.1856, allocations: 15.92 kB / 0.6993 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.1856, allocations: 0 / 0.6993 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.489e-05/0.1857, allocations: 23.98 kB / 0.6993 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.1857, allocations: 0 / 0.6993 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.1857, allocations: 19.91 kB / 0.6993 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.1858, allocations: 32.12 kB / 0.6993 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1858, allocations: 0 / 0.6993 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1858, allocations: 0 / 0.6993 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1858, allocations: 0 / 0.6993 GB, free: 0.832 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.000516/0.1863, allocations: 343.4 kB / 0.6997 GB, free: 460 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1864, allocations: 13.05 kB / 0.6997 GB, free: 448 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.1864, allocations: 34.75 kB / 0.6997 GB, free: 404 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.1865, allocations: 8.891 kB / 0.6997 GB, free: 396 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.1867, allocations: 164.4 kB / 0.6999 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1867, allocations: 384 / 0.6999 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1867, allocations: 4.375 kB / 0.6999 GB, free: 188 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.1869, allocations: 49.8 kB / 0.6999 GB, free: 132 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.1869, allocations: 4 kB / 0.6999 GB, free: 128 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1869, allocations: 0 / 0.6999 GB, free: 128 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1869, allocations: 0 / 0.6999 GB, free: 128 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.1871, allocations: 31.97 kB / 0.7 GB, free: 96 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.1874, allocations: 264.8 kB / 0.7002 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1876, allocations: 38.55 kB / 0.7003 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.07e-05/0.1877, allocations: 20.89 kB / 0.7003 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.1878, allocations: 89.11 kB / 0.7004 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1879, allocations: 30.56 kB / 0.7004 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1879, allocations: 0 / 0.7004 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003767/0.1882, allocations: 85.53 kB / 0.7005 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.1883, allocations: 55.41 kB / 0.7005 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.685e-05/0.1884, allocations: 106 kB / 0.7006 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1884, allocations: 25.7 kB / 0.7007 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.1884, allocations: 84.14 kB / 0.7007 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1885, allocations: 19.81 kB / 0.7008 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.1885, allocations: 13.72 kB / 0.7008 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1886, allocations: 318.8 kB / 0.7011 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.1887, allocations: 15.98 kB / 0.7011 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.191e-05/0.1888, allocations: 23.92 kB / 0.7011 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.1889, allocations: 36.83 kB / 0.7011 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1889, allocations: 0 / 0.7011 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002032/0.1891, allocations: 69.59 kB / 0.7012 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1892, allocations: 4 kB / 0.7012 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1892, allocations: 4.094 kB / 0.7012 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1892, allocations: 0 / 0.7012 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-05/0.1893, allocations: 11.98 kB / 0.7012 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.1893, allocations: 0 / 0.7012 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.1893, allocations: 11.98 kB / 0.7012 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.1893, allocations: 0 / 0.7012 GB, free: 14.64 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.701e-05/0.1894, allocations: 109.8 kB / 0.7013 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.1895, allocations: 4 kB / 0.7013 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.1897, allocations: 76.72 kB / 0.7014 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1897, allocations: 4 kB / 0.7014 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1897, allocations: 0 / 0.7014 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1897, allocations: 0 / 0.7014 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.1899, allocations: 165.5 kB / 0.7016 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1899, allocations: 0 / 0.7016 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.19, allocations: 11.98 kB / 0.7016 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.19, allocations: 0 / 0.7016 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.19, allocations: 4.031 kB / 0.7016 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.19, allocations: 256 / 0.7016 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.19, allocations: 0 / 0.7016 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.1902, allocations: 167.5 kB / 0.7018 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.1903, allocations: 77.11 kB / 0.7018 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1903, allocations: 4 kB / 0.7018 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.1904, allocations: 11.95 kB / 0.7018 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.1904, allocations: 4 kB / 0.7019 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.1904, allocations: 0 / 0.7019 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.1904, allocations: 83.28 kB / 0.7019 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1904, allocations: 0 / 0.7019 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002183/0.1907, allocations: 8 kB / 0.7019 GB, free: 13.82 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 (2): * Single equations (assignments): 2 * 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.000618/0.1913, allocations: 0.7045 MB / 0.7026 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.1915, allocations: 35.91 kB / 0.7027 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1915, allocations: 3.938 kB / 0.7027 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.202e-05/0.1916, allocations: 32 kB / 0.7027 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.1919, allocations: 4 kB / 0.7027 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.1924, allocations: 135.2 kB / 0.7028 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1927, allocations: 0.6844 MB / 0.7035 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.203e-05/0.1927, allocations: 0 / 0.7035 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.1927, allocations: 11.44 kB / 0.7035 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1927, allocations: 0 / 0.7035 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.2162, allocations: 1.421 MB / 0.7049 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/7.92, allocations: 7.797 kB / 0.7049 GB, free: 10.79 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.61019849400327] Failed to read output from testmodel.py, exit status != 0: 7.98553061299026 7.999980321 7.81143435 Calling exit ...