Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.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.001291/0.001291, allocations: 106.6 kB / 18.94 MB, free: 2.957 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.00211/0.00211, allocations: 223.9 kB / 22.26 MB, free: 5.129 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 8 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.9161/0.9161, allocations: 134 MB / 446.4 MB, free: 10.18 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.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",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.002177/0.002177, allocations: 66.8 kB / 0.6185 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1773, allocations: 85.92 MB / 0.7025 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.00392/0.1813, allocations: 1.628 MB / 0.704 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1826, allocations: 0.6047 MB / 0.7046 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1828, allocations: 3.938 kB / 0.7046 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.1829, allocations: 15.86 kB / 0.7047 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-05/0.183, allocations: 15.86 kB / 0.7047 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.1834, allocations: 63.84 kB / 0.7047 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.1836, allocations: 91.64 kB / 0.7048 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.1838, allocations: 36.2 kB / 0.7048 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.184, allocations: 39.84 kB / 0.7049 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1841, allocations: 39.84 kB / 0.7049 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.1841, allocations: 8 kB / 0.7049 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.111e-05/0.1842, allocations: 19.98 kB / 0.705 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.1843, allocations: 27.86 kB / 0.705 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.664e-05/0.1843, allocations: 47.72 kB / 0.705 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.1845, allocations: 91.58 kB / 0.7051 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1845, allocations: 3.938 kB / 0.7051 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1845, allocations: 0 / 0.7051 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.1846, allocations: 0 / 0.7051 GB, free: 14.59 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006492/0.1852, allocations: 345.7 kB / 0.7054 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1852, allocations: 8.031 kB / 0.7055 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.663e-05/0.1853, allocations: 46.73 kB / 0.7055 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/0.1857, allocations: 32.86 kB / 0.7055 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.186, allocations: 150.8 kB / 0.7057 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.186, allocations: 384 / 0.7057 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.186, allocations: 15.94 kB / 0.7057 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.1864, allocations: 104.3 kB / 0.7058 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1864, allocations: 0 / 0.7058 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1864, allocations: 8 kB / 0.7058 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.1864, allocations: 4 kB / 0.7058 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.1866, allocations: 87.94 kB / 0.7059 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006922/0.1873, allocations: 351.6 kB / 0.7062 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.1875, allocations: 58.55 kB / 0.7063 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.1876, allocations: 48.95 kB / 0.7063 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.1876, allocations: 0 / 0.7063 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1877, allocations: 42.48 kB / 0.7064 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.1877, allocations: 0 / 0.7064 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0004816/0.1882, allocations: 165.5 kB / 0.7065 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.1882, allocations: 55.41 kB / 0.7066 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1883, allocations: 135.7 kB / 0.7067 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.1884, allocations: 29.7 kB / 0.7067 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.884e-05/0.1885, allocations: 112.1 kB / 0.7068 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.1885, allocations: 19.84 kB / 0.7069 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-05/0.1886, allocations: 17.72 kB / 0.7069 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1887, allocations: 326.8 kB / 0.7072 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.1888, allocations: 35.97 kB / 0.7072 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1889, allocations: 43.91 kB / 0.7073 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.1891, allocations: 88.8 kB / 0.7073 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1891, allocations: 0 / 0.7073 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002843/0.1894, allocations: 133.9 kB / 0.7075 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1894, allocations: 8 kB / 0.7075 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1894, allocations: 3.938 kB / 0.7075 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1895, allocations: 0 / 0.7075 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1896, allocations: 20.05 kB / 0.7075 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1896, allocations: 3.984 kB / 0.7075 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.915e-05/0.1897, allocations: 11.98 kB / 0.7075 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.1897, allocations: 7.938 kB / 0.7075 GB, free: 11.93 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 (6): * Single equations (assignments): 6 * 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.000124/0.1898, allocations: 125.8 kB / 0.7076 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.1899, allocations: 19.81 kB / 0.7077 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.1902, allocations: 142.3 kB / 0.7078 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1902, allocations: 0 / 0.7078 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.1902, allocations: 4 kB / 0.7078 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1902, allocations: 0 / 0.7078 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.1905, allocations: 172.7 kB / 0.708 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1905, allocations: 4 kB / 0.708 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.1906, allocations: 23.86 kB / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1906, allocations: 4 kB / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1906, allocations: 0 / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1906, allocations: 0 / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1906, allocations: 0 / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.1909, allocations: 227.4 kB / 0.7082 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.1909, allocations: 7.891 kB / 0.7082 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.191, allocations: 0 / 0.7082 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1911, allocations: 15.98 kB / 0.7082 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.1911, allocations: 7.969 kB / 0.7082 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1911, allocations: 4 kB / 0.7082 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.501e-05/0.1912, allocations: 108.8 kB / 0.7084 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1912, allocations: 0 / 0.7084 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002432/0.1914, allocations: 15.95 kB / 0.7084 GB, free: 11 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 (6): * Single equations (assignments): 6 * 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.0006629/0.1921, allocations: 0.771 MB / 0.7091 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.1924, allocations: 99.94 kB / 0.7092 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1924, allocations: 4 kB / 0.7092 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1925, allocations: 51.89 kB / 0.7093 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.1928, allocations: 8 kB / 0.7093 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.1947, allocations: 1.629 MB / 0.7109 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.195, allocations: 0.7002 MB / 0.7116 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.52e-05/0.1951, allocations: 15.73 kB / 0.7116 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.1952, allocations: 31.42 kB / 0.7116 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/0.1952, allocations: 0 / 0.7116 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.2244, allocations: 2.228 MB / 0.7138 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.14, allocations: 3.719 kB / 0.7138 GB, free: 5.465 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions_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_VectorFunctions.fmu > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.966403391001222] Failed to read output from testmodel.py, exit status != 0: 11.244027765998908 11.269657493 11.080519434 Calling exit ...