Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001282/0.001282, allocations: 105 kB / 20.48 MB, free: 1.488 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.001415/0.001415, allocations: 215.2 kB / 23.79 MB, free: 4.703 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.451/1.451, allocations: 230.6 MB / 257.6 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9902/0.9902, allocations: 150 MB / 464 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001967/0.001967, allocations: 62.12 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1824, allocations: 89.18 MB / 0.7291 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002864/0.1853, allocations: 1.621 MB / 0.7307 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1864, allocations: 0.6194 MB / 0.7313 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.079e-05/0.1864, allocations: 3.938 kB / 0.7313 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.905e-05/0.1865, allocations: 7.875 kB / 0.7313 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.909e-05/0.1865, allocations: 19.84 kB / 0.7313 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1868, allocations: 55.86 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.1869, allocations: 95.64 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.1871, allocations: 24.27 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.1872, allocations: 51.89 kB / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.912e-05/0.1873, allocations: 39.78 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.1873, allocations: 8 kB / 0.7316 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.66e-05/0.1874, allocations: 19.98 kB / 0.7316 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.1874, allocations: 19.92 kB / 0.7316 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.1875, allocations: 39.73 kB / 0.7317 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1877, allocations: 103.4 kB / 0.7318 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1877, allocations: 0 / 0.7318 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1877, allocations: 4 kB / 0.7318 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.1877, allocations: 4 kB / 0.7318 GB, free: 14.53 MB / 0.5606 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.0005286/0.1882, allocations: 333.8 kB / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1882, allocations: 12.03 kB / 0.7321 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.552e-05/0.1882, allocations: 4.188 kB / 0.7321 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.1883, allocations: 38.75 kB / 0.7322 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002897/0.1886, allocations: 40.81 kB / 0.7322 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.1888, allocations: 151.6 kB / 0.7323 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1888, allocations: 12.12 kB / 0.7323 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.1888, allocations: 4 kB / 0.7324 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.1891, allocations: 101.6 kB / 0.7324 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1891, allocations: 3.938 kB / 0.7325 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1891, allocations: 4 kB / 0.7325 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1891, allocations: 7.984 kB / 0.7325 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.1894, allocations: 91.94 kB / 0.7326 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006007/0.19, allocations: 347.7 kB / 0.7329 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1901, allocations: 62.53 kB / 0.7329 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.1902, allocations: 52.95 kB / 0.733 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.1903, allocations: 11.92 kB / 0.733 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.1903, allocations: 30.56 kB / 0.733 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1903, allocations: 3.938 kB / 0.733 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0005092/0.1908, allocations: 165.5 kB / 0.7332 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1909, allocations: 63.39 kB / 0.7333 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.191, allocations: 136.6 kB / 0.7334 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.191, allocations: 25.7 kB / 0.7334 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.1911, allocations: 112.1 kB / 0.7335 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.1911, allocations: 15.86 kB / 0.7335 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.1912, allocations: 21.7 kB / 0.7336 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1913, allocations: 322.8 kB / 0.7339 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1914, allocations: 43.97 kB / 0.7339 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.1916, allocations: 39.91 kB / 0.7339 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.1918, allocations: 84.81 kB / 0.734 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1918, allocations: 0 / 0.734 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003022/0.1921, allocations: 133.9 kB / 0.7341 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1921, allocations: 8 kB / 0.7342 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1921, allocations: 0 / 0.7342 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1921, allocations: 0 / 0.7342 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1923, allocations: 20.05 kB / 0.7342 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1923, allocations: 0 / 0.7342 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.413e-05/0.1923, allocations: 19.92 kB / 0.7342 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.1924, allocations: 0 / 0.7342 GB, free: 11.87 MB / 0.5606 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.887e-05/0.1925, allocations: 125.8 kB / 0.7343 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.1925, allocations: 11.89 kB / 0.7343 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.1929, allocations: 142.3 kB / 0.7345 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1929, allocations: 4 kB / 0.7345 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1929, allocations: 0 / 0.7345 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1929, allocations: 0 / 0.7345 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.1931, allocations: 180.6 kB / 0.7346 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1931, allocations: 3.938 kB / 0.7346 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.1932, allocations: 27.92 kB / 0.7347 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1932, allocations: 0 / 0.7347 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1932, allocations: 7.984 kB / 0.7347 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1932, allocations: 0 / 0.7347 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1932, allocations: 0 / 0.7347 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.1936, allocations: 215.5 kB / 0.7349 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.1936, allocations: 15.88 kB / 0.7349 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.1936, allocations: 8 kB / 0.7349 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1937, allocations: 4 kB / 0.7349 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.1938, allocations: 3.984 kB / 0.7349 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.1938, allocations: 7.984 kB / 0.7349 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.311e-05/0.1939, allocations: 104 kB / 0.735 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1939, allocations: 0 / 0.735 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002489/0.1941, allocations: 23.94 kB / 0.735 GB, free: 10.92 MB / 0.5606 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.0007272/0.1948, allocations: 0.7787 MB / 0.7358 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002987/0.1951, allocations: 95.92 kB / 0.7359 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1951, allocations: 3.938 kB / 0.7359 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.1953, allocations: 47.97 kB / 0.7359 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.1955, allocations: 8 kB / 0.736 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.1975, allocations: 1.634 MB / 0.7375 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.1978, allocations: 0.7041 MB / 0.7382 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.692e-05/0.1979, allocations: 15.97 kB / 0.7382 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.198, allocations: 31.42 kB / 0.7383 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.198, allocations: 0 / 0.7383 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.2199, allocations: 2.255 MB / 0.7405 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.43, allocations: 0 / 0.7405 GB, free: 5.379 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.248946234991308] Failed to read output from testmodel.py, exit status != 0: 11.588140338950325 11.607187819 11.415669205 Calling exit ...