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.001422/0.001422, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002179/0.002179, allocations: 211.8 kB / 22.25 MB, free: 5.121 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.969 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.8654/0.8654, allocations: 134 MB / 446.4 MB, free: 10.21 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.001979/0.001979, allocations: 75.28 kB / 0.6186 GB, free: 7.168 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1775, allocations: 85.91 MB / 0.7025 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003226/0.1807, allocations: 1.624 MB / 0.704 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1819, allocations: 0.6087 MB / 0.7046 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.449e-05/0.182, allocations: 3.938 kB / 0.7046 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.1821, allocations: 11.86 kB / 0.7046 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.1821, allocations: 19.8 kB / 0.7047 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.1825, allocations: 67.86 kB / 0.7047 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1826, allocations: 87.69 kB / 0.7048 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.1828, allocations: 32.2 kB / 0.7048 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.1829, allocations: 51.78 kB / 0.7049 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.768e-05/0.183, allocations: 35.84 kB / 0.7049 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.183, allocations: 8 kB / 0.7049 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.336e-05/0.1831, allocations: 19.98 kB / 0.705 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.1831, allocations: 19.92 kB / 0.705 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.1832, allocations: 43.72 kB / 0.705 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.1834, allocations: 95.58 kB / 0.7051 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1834, allocations: 0 / 0.7051 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.257e-06/0.1834, allocations: 8 kB / 0.7051 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.1834, 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.0005408/0.1839, allocations: 337.8 kB / 0.7054 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.184, allocations: 11.97 kB / 0.7054 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.859e-05/0.184, allocations: 42.73 kB / 0.7055 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002963/0.1843, allocations: 32.86 kB / 0.7055 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.1846, allocations: 154.8 kB / 0.7057 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1846, allocations: 4.375 kB / 0.7057 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.1846, allocations: 7.938 kB / 0.7057 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.1849, allocations: 108.6 kB / 0.7058 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1849, allocations: 4 kB / 0.7058 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1849, allocations: 3.984 kB / 0.7058 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1849, allocations: 0 / 0.7058 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.1851, allocations: 103.9 kB / 0.7059 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.1857, allocations: 347.7 kB / 0.7062 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1859, allocations: 58.48 kB / 0.7063 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.186, allocations: 44.95 kB / 0.7063 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.186, allocations: 7.938 kB / 0.7063 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1861, allocations: 34.56 kB / 0.7064 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1861, allocations: 0 / 0.7064 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0004741/0.1865, allocations: 169.5 kB / 0.7065 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.1866, allocations: 59.34 kB / 0.7066 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1867, allocations: 138.8 kB / 0.7067 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1867, allocations: 25.7 kB / 0.7067 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.1868, allocations: 108.2 kB / 0.7068 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.1868, allocations: 27.83 kB / 0.7069 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.1869, allocations: 13.72 kB / 0.7069 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.187, allocations: 322.8 kB / 0.7072 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1871, allocations: 39.97 kB / 0.7072 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1872, allocations: 43.97 kB / 0.7073 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.1874, allocations: 88.8 kB / 0.7074 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1875, allocations: 0 / 0.7074 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002808/0.1877, allocations: 125.5 kB / 0.7075 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1877, allocations: 7.984 kB / 0.7075 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1878, allocations: 7.938 kB / 0.7075 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1878, allocations: 4 kB / 0.7075 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.1879, allocations: 19.92 kB / 0.7075 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1879, allocations: 0 / 0.7075 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.188, allocations: 7.984 kB / 0.7075 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.188, allocations: 4.438 kB / 0.7075 GB, free: 11.94 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 9.718e-05/0.1881, allocations: 117.8 kB / 0.7076 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.1881, allocations: 15.88 kB / 0.7076 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003462/0.1885, allocations: 162.2 kB / 0.7078 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1885, allocations: 0 / 0.7078 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1885, allocations: 0 / 0.7078 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1885, allocations: 0 / 0.7078 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.1887, allocations: 176.7 kB / 0.708 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1887, allocations: 3.984 kB / 0.708 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1888, allocations: 19.92 kB / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1888, allocations: 0 / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.1888, allocations: 8 kB / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1888, allocations: 0 / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1888, allocations: 0 / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.1892, allocations: 219.4 kB / 0.7082 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.1892, allocations: 11.89 kB / 0.7082 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.1892, allocations: 3.938 kB / 0.7082 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.1893, allocations: 11.98 kB / 0.7082 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.1893, allocations: 7.984 kB / 0.7082 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1894, allocations: 4 kB / 0.7083 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.991e-05/0.1894, allocations: 113.4 kB / 0.7084 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1894, allocations: 0 / 0.7084 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002475/0.1897, allocations: 19.95 kB / 0.7084 GB, free: 10.99 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.000698/0.1904, allocations: 0.7641 MB / 0.7091 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.1907, allocations: 95.88 kB / 0.7092 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1907, allocations: 0 / 0.7092 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.1908, allocations: 56.27 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.0002297/0.191, allocations: 4 kB / 0.7093 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.1932, allocations: 1.629 MB / 0.7109 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1936, allocations: 0.7079 MB / 0.7116 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.763e-05/0.1936, 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.612e-05/0.1937, allocations: 31.42 kB / 0.7116 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.1937, allocations: 0 / 0.7116 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.2233, allocations: 2.224 MB / 0.7138 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.06, allocations: 4.062 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 & /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: 14.832952978089452] Failed to read output from testmodel.py, exit status != 0: 11.166648359969258 11.193546025 11.006661687 Calling exit ...