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.001293/0.001293, allocations: 116.1 kB / 17.17 MB, free: 6 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.001323/0.001323, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.483/1.483, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.8636/0.8636, allocations: 133.9 MB / 443.5 MB, free: 14.14 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",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.001978/0.001978, allocations: 68.52 kB / 0.6141 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1783, allocations: 85.85 MB / 0.6979 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003256/0.1815, allocations: 1.63 MB / 0.6995 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1827, allocations: 0.5909 MB / 0.7001 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.014e-05/0.1828, allocations: 3.938 kB / 0.7001 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.183, allocations: 15.86 kB / 0.7001 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.531e-05/0.183, allocations: 22.95 kB / 0.7002 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.1834, allocations: 58.73 kB / 0.7002 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.1836, allocations: 87.8 kB / 0.7003 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.1838, allocations: 28.36 kB / 0.7003 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.1839, allocations: 51.02 kB / 0.7004 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.948e-05/0.184, allocations: 36.22 kB / 0.7004 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.1841, allocations: 6.875 kB / 0.7004 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.606e-05/0.1842, allocations: 22.98 kB / 0.7004 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.1842, allocations: 26.78 kB / 0.7005 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.1843, allocations: 41.36 kB / 0.7005 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.1845, allocations: 93.47 kB / 0.7006 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1845, allocations: 0 / 0.7006 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.535e-06/0.1845, allocations: 0 / 0.7006 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.1845, allocations: 0 / 0.7006 GB, free: 11.65 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006985/0.1852, allocations: 410.6 kB / 0.701 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1852, allocations: 15.23 kB / 0.701 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.811e-05/0.1853, allocations: 9.562 kB / 0.701 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.1853, allocations: 37.5 kB / 0.701 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002991/0.1856, allocations: 34.86 kB / 0.7011 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.1859, allocations: 215.7 kB / 0.7013 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1859, allocations: 6.875 kB / 0.7013 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.1859, allocations: 8.125 kB / 0.7013 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.1862, allocations: 106.9 kB / 0.7014 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1862, allocations: 0 / 0.7014 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.1863, allocations: 5.375 kB / 0.7014 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1863, allocations: 1.375 kB / 0.7014 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.1865, allocations: 94.19 kB / 0.7015 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006607/0.1872, allocations: 383.8 kB / 0.7019 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.1873, allocations: 58.73 kB / 0.7019 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.1875, allocations: 51.77 kB / 0.702 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-05/0.1875, allocations: 6.578 kB / 0.702 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.1875, allocations: 31.84 kB / 0.702 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1875, allocations: 4 kB / 0.702 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0005439/0.1881, allocations: 168.3 kB / 0.7022 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.1882, allocations: 57.06 kB / 0.7022 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.1884, allocations: 136.5 kB / 0.7023 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1884, allocations: 26.95 kB / 0.7024 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/0.1885, allocations: 105 kB / 0.7025 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.1885, allocations: 30.23 kB / 0.7025 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.1886, allocations: 19.25 kB / 0.7025 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1887, allocations: 321.5 kB / 0.7028 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.1888, allocations: 38.5 kB / 0.7029 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.189, allocations: 38.31 kB / 0.7029 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.1892, allocations: 96.83 kB / 0.703 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1892, allocations: 0 / 0.703 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002923/0.1895, allocations: 125.9 kB / 0.7031 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1895, allocations: 9.562 kB / 0.7031 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1895, allocations: 0 / 0.7031 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1895, allocations: 9.172 kB / 0.7031 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.1897, allocations: 16.02 kB / 0.7031 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1897, allocations: 1.375 kB / 0.7031 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.1897, allocations: 9.156 kB / 0.7032 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.1898, allocations: 10.58 kB / 0.7032 GB, free: 9.375 MB / 0.5137 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.0001081/0.1899, allocations: 119.6 kB / 0.7033 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.1899, allocations: 13.55 kB / 0.7033 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.1903, allocations: 152.1 kB / 0.7034 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1903, allocations: 0 / 0.7034 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1903, allocations: 5.375 kB / 0.7034 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1903, allocations: 0 / 0.7034 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.1905, allocations: 202.4 kB / 0.7036 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1905, allocations: 5.312 kB / 0.7036 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.1906, allocations: 20.34 kB / 0.7037 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1906, allocations: 1.375 kB / 0.7037 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.1907, allocations: 0 / 0.7037 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1907, allocations: 1.5 kB / 0.7037 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1907, allocations: 4 kB / 0.7037 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.191, allocations: 226 kB / 0.7039 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.1911, allocations: 96.88 kB / 0.704 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.1911, allocations: 0 / 0.704 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.1912, allocations: 7.984 kB / 0.704 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.1912, allocations: 11.98 kB / 0.704 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1912, allocations: 7.938 kB / 0.704 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.244e-05/0.1913, allocations: 109.5 kB / 0.7041 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1913, allocations: 0 / 0.7041 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002348/0.1916, allocations: 15.95 kB / 0.7041 GB, free: 8.449 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 (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.0007068/0.1923, allocations: 0.7631 MB / 0.7049 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002961/0.1926, allocations: 99.88 kB / 0.705 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1926, allocations: 0 / 0.705 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1927, allocations: 47.97 kB / 0.705 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.1929, allocations: 5.406 kB / 0.705 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.195, allocations: 1.639 MB / 0.7066 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1953, allocations: 0.708 MB / 0.7073 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.944e-05/0.1954, allocations: 15.73 kB / 0.7073 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.1954, allocations: 27.42 kB / 0.7073 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.1954, allocations: 4 kB / 0.7074 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.2135, allocations: 2.136 MB / 0.7094 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.443, allocations: 16.73 kB / 0.7095 GB, free: 2.98 MB / 0.5137 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 12.20079796097707] Failed to read output from testmodel.py, exit status != 0: 8.863443777023349 8.587757996 8.399332391 Calling exit ...