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.001775/0.001775, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002381/0.002381, allocations: 209.4 kB / 22.99 MB, free: 4.609 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.9893/0.9893, allocations: 149.9 MB / 463 MB, free: 10.39 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",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.002896/0.002896, allocations: 65.42 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1823, allocations: 89.17 MB / 0.7282 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.003132/0.1854, allocations: 1.582 MB / 0.7297 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1866, allocations: 0.5689 MB / 0.7303 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.046e-05/0.1866, allocations: 4 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.1867, allocations: 11.86 kB / 0.7303 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.108e-05/0.1868, allocations: 15.8 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.1871, allocations: 59.86 kB / 0.7304 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1872, allocations: 83.7 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1874, allocations: 32.27 kB / 0.7305 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.1875, allocations: 55.77 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.063e-05/0.1876, allocations: 35.84 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.1876, allocations: 4 kB / 0.7306 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.037e-05/0.1877, allocations: 19.98 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.1878, allocations: 23.91 kB / 0.7306 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.703e-05/0.1878, allocations: 31.8 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.188, allocations: 99.52 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.188, allocations: 0 / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.188, allocations: 0 / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.188, allocations: 0 / 0.7307 GB, free: 14.4 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.0005599/0.1886, allocations: 341.7 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1886, allocations: 12.03 kB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.1886, allocations: 38.69 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/0.1889, allocations: 44.8 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.1892, allocations: 138.9 kB / 0.7313 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1892, allocations: 8.375 kB / 0.7313 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.1892, allocations: 7.938 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.1895, allocations: 117.6 kB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1895, allocations: 3.938 kB / 0.7314 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1895, allocations: 0 / 0.7314 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1895, allocations: 0 / 0.7314 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.1897, allocations: 99.92 kB / 0.7315 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006104/0.1904, allocations: 339.7 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1905, allocations: 58.53 kB / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1906, allocations: 44.95 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/0.1907, allocations: 8 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.1907, allocations: 38.56 kB / 0.732 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.1907, allocations: 0 / 0.732 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0005143/0.1912, allocations: 169.4 kB / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1913, allocations: 59.39 kB / 0.7322 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.1914, allocations: 135.3 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1914, allocations: 25.7 kB / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/0.1915, allocations: 112.1 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.1915, allocations: 19.86 kB / 0.7325 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.1916, allocations: 21.7 kB / 0.7325 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1917, allocations: 322.8 kB / 0.7328 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1919, allocations: 39.97 kB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.192, allocations: 39.97 kB / 0.7329 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.1922, allocations: 84.81 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1922, allocations: 0 / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002968/0.1925, allocations: 137.4 kB / 0.7331 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1925, allocations: 8 kB / 0.7331 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1925, allocations: 0 / 0.7331 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1925, allocations: 4 kB / 0.7331 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.1927, allocations: 15.98 kB / 0.7331 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1927, allocations: 0 / 0.7331 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.735e-05/0.1927, allocations: 11.98 kB / 0.7331 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.1928, allocations: 0 / 0.7331 GB, free: 11.75 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 0.0001079/0.1929, allocations: 125.8 kB / 0.7332 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.1929, allocations: 11.89 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003805/0.1933, allocations: 150.6 kB / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1933, allocations: 0 / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1933, allocations: 64 / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1933, allocations: 7.938 kB / 0.7334 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.1935, allocations: 172.6 kB / 0.7336 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1935, allocations: 4 kB / 0.7336 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.1936, allocations: 23.91 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1936, allocations: 0 / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1936, allocations: 4 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1937, allocations: 3.984 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1937, allocations: 0 / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.194, allocations: 227.4 kB / 0.7338 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.194, allocations: 11.89 kB / 0.7338 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.194, allocations: 4 kB / 0.7338 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1941, allocations: 7.984 kB / 0.7338 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.1942, allocations: 7.984 kB / 0.7338 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1942, allocations: 4 kB / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.352e-05/0.1943, allocations: 105.3 kB / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1943, allocations: 0 / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002536/0.1945, allocations: 23.98 kB / 0.734 GB, free: 10.8 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.0007307/0.1953, allocations: 0.7708 MB / 0.7347 GB, free: 10 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.1956, allocations: 91.94 kB / 0.7348 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1956, allocations: 0 / 0.7348 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.1957, allocations: 51.91 kB / 0.7349 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.1959, allocations: 9.875 kB / 0.7349 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.1981, allocations: 1.63 MB / 0.7365 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.1982, allocations: 92.19 kB / 0.7366 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.315e-05/0.1983, allocations: 15.98 kB / 0.7366 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.1983, allocations: 31.42 kB / 0.7366 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.1983, allocations: 0 / 0.7366 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.2296, allocations: 2.606 MB / 0.7391 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.36, allocations: 10.59 kB / 0.7392 GB, free: 5.516 MB / 0.5606 GB " [Timeout remaining time 649] (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.275385195855051] Failed to read output from testmodel.py, exit status != 0: 11.476635346189141 11.502806332 11.309679222 Calling exit ...