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.00134/0.00134, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00238/0.00238, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.746 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.8618/0.8618, allocations: 134 MB / 446.4 MB, free: 9.949 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.0021/0.0021, allocations: 71.81 kB / 0.6185 GB, free: 6.875 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1773, allocations: 85.91 MB / 0.7024 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.00329/0.1806, allocations: 1.594 MB / 0.7039 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1817, allocations: 0.5658 MB / 0.7045 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.309e-05/0.1818, allocations: 0 / 0.7045 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.1819, allocations: 15.86 kB / 0.7045 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.454e-05/0.182, allocations: 19.8 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.1823, allocations: 63.84 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.1825, allocations: 87.7 kB / 0.7047 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.1827, allocations: 32.2 kB / 0.7047 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.1828, allocations: 43.84 kB / 0.7047 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.691e-05/0.1829, allocations: 39.78 kB / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.183, allocations: 4 kB / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-05/0.183, allocations: 23.98 kB / 0.7048 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.1831, allocations: 23.91 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.1831, allocations: 35.8 kB / 0.7049 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.1833, allocations: 95.52 kB / 0.705 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1833, allocations: 3.938 kB / 0.705 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1833, allocations: 0 / 0.705 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1833, allocations: 0 / 0.705 GB, free: 14.39 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.000568/0.1839, allocations: 344 kB / 0.7053 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1839, allocations: 12.03 kB / 0.7053 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.236e-05/0.184, allocations: 38.73 kB / 0.7053 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/0.1843, allocations: 40.86 kB / 0.7054 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1846, allocations: 142.9 kB / 0.7055 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1846, allocations: 4.375 kB / 0.7055 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1846, allocations: 11.94 kB / 0.7055 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.1849, allocations: 105.6 kB / 0.7056 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1849, allocations: 4 kB / 0.7056 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1849, allocations: 7.938 kB / 0.7056 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1849, allocations: 4 kB / 0.7056 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.1851, allocations: 91.94 kB / 0.7057 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000632/0.1858, allocations: 339.6 kB / 0.7061 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1859, allocations: 54.55 kB / 0.7061 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.186, allocations: 44.95 kB / 0.7062 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.1861, allocations: 8 kB / 0.7062 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1861, allocations: 30.56 kB / 0.7062 GB, free: 13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1861, allocations: 0 / 0.7062 GB, free: 13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0005049/0.1866, allocations: 177.4 kB / 0.7064 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.1867, allocations: 51.41 kB / 0.7064 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.1868, allocations: 140.3 kB / 0.7065 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1868, allocations: 25.7 kB / 0.7066 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.1869, allocations: 112.2 kB / 0.7067 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.1869, allocations: 27.83 kB / 0.7067 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.187, allocations: 13.72 kB / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1871, allocations: 322.8 kB / 0.707 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1872, allocations: 35.97 kB / 0.7071 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1873, allocations: 39.97 kB / 0.7071 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.1876, allocations: 92.8 kB / 0.7072 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1876, allocations: 8.312 kB / 0.7072 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002894/0.1878, allocations: 129.5 kB / 0.7073 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1879, allocations: 8 kB / 0.7073 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1879, allocations: 0 / 0.7073 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1879, allocations: 0 / 0.7073 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.188, allocations: 19.97 kB / 0.7073 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.188, allocations: 0 / 0.7073 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.982e-05/0.1881, allocations: 12 kB / 0.7073 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1881, allocations: 7.969 kB / 0.7074 GB, free: 11.75 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.0001137/0.1882, allocations: 121.8 kB / 0.7075 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.1883, allocations: 15.83 kB / 0.7075 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003534/0.1886, allocations: 150.2 kB / 0.7076 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1886, allocations: 4 kB / 0.7076 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1886, allocations: 0 / 0.7076 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1886, allocations: 0 / 0.7076 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.1888, allocations: 164.7 kB / 0.7078 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1888, allocations: 7.938 kB / 0.7078 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.1889, allocations: 23.92 kB / 0.7078 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1889, allocations: 0 / 0.7078 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.189, allocations: 0 / 0.7078 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.189, allocations: 0 / 0.7078 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.189, allocations: 0 / 0.7078 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.1893, allocations: 227.4 kB / 0.708 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.1893, allocations: 15.88 kB / 0.7081 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.1893, allocations: 4 kB / 0.7081 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1894, allocations: 8.172 kB / 0.7081 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.1895, allocations: 15.98 kB / 0.7081 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.1895, allocations: 0 / 0.7081 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.818e-05/0.1896, allocations: 113.9 kB / 0.7082 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1896, allocations: 0 / 0.7082 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002419/0.1898, allocations: 15.95 kB / 0.7082 GB, free: 10.8 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.000711/0.1905, allocations: 0.7669 MB / 0.709 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.1908, allocations: 91.94 kB / 0.709 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1908, allocations: 0 / 0.709 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.1909, allocations: 59.89 kB / 0.7091 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.1912, allocations: 4 kB / 0.7091 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.1931, allocations: 1.624 MB / 0.7107 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.637e-05/0.1932, allocations: 92.19 kB / 0.7108 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.575e-05/0.1933, allocations: 11.73 kB / 0.7108 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.792e-05/0.1934, allocations: 31.42 kB / 0.7108 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1934, allocations: 0 / 0.7108 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.2228, allocations: 2.609 MB / 0.7134 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.53, allocations: 4.062 kB / 0.7134 GB, free: 5.527 MB / 0.5294 GB " [Timeout remaining time 648] (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: 15.352011937648058] Failed to read output from testmodel.py, exit status != 0: 11.63813217682764 11.653155152 11.46679913 Calling exit ...