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.00175/0.00175, allocations: 109.7 kB / 17.12 MB, free: 5.926 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.002166/0.002166, allocations: 204 kB / 20.09 MB, free: 2.977 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.539/1.539, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 1.069/1.069, allocations: 150 MB / 459.5 MB, free: 5.281 MB / 350.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.002004/0.002004, allocations: 77.67 kB / 0.6361 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1755, allocations: 89.13 MB / 0.7232 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.003112/0.1786, allocations: 1.627 MB / 0.7248 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1798, allocations: 0.5941 MB / 0.7253 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.346e-05/0.1799, allocations: 7.938 kB / 0.7253 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.18, allocations: 7.875 kB / 0.7254 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.135e-05/0.18, allocations: 15.84 kB / 0.7254 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.1803, allocations: 59.86 kB / 0.7254 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1805, allocations: 87.64 kB / 0.7255 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.1807, allocations: 36.27 kB / 0.7255 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1808, allocations: 51.83 kB / 0.7256 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1809, allocations: 35.84 kB / 0.7256 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.181, allocations: 8 kB / 0.7256 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.1811, allocations: 23.92 kB / 0.7257 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.1811, allocations: 23.91 kB / 0.7257 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.1812, allocations: 39.75 kB / 0.7257 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.1813, allocations: 99.5 kB / 0.7258 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1813, allocations: 0 / 0.7258 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1813, allocations: 0 / 0.7258 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.1814, allocations: 4 kB / 0.7258 GB, free: 1.32 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.0006374/0.182, allocations: 410.9 kB / 0.7262 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.182, allocations: 8.031 kB / 0.7262 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.493e-05/0.1821, allocations: 42.75 kB / 0.7263 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003189/0.1824, allocations: 40.81 kB / 0.7263 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.1827, allocations: 216.6 kB / 0.7265 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.1827, allocations: 8.375 kB / 0.7265 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.1827, allocations: 11.94 kB / 0.7265 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.183, allocations: 103 kB / 0.7266 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.183, allocations: 0 / 0.7266 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.183, allocations: 4 kB / 0.7266 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1831, allocations: 4 kB / 0.7266 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.1833, allocations: 87.94 kB / 0.7267 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/0.184, allocations: 388.5 kB / 0.7271 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.1842, allocations: 62.48 kB / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.1843, allocations: 48.95 kB / 0.7272 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.1843, allocations: 11.98 kB / 0.7272 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1844, allocations: 30.56 kB / 0.7272 GB, free: 15.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1844, allocations: 0 / 0.7272 GB, free: 15.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0005323/0.1849, allocations: 177.4 kB / 0.7274 GB, free: 15.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.1849, allocations: 51.41 kB / 0.7274 GB, free: 15.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.1851, allocations: 140.8 kB / 0.7276 GB, free: 15.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1851, allocations: 25.7 kB / 0.7276 GB, free: 15.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.137e-05/0.1852, allocations: 108.2 kB / 0.7277 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.1852, allocations: 19.86 kB / 0.7277 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.1853, allocations: 21.7 kB / 0.7277 GB, free: 15.13 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1855, allocations: 326.8 kB / 0.7281 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.1856, allocations: 39.97 kB / 0.7281 GB, free: 14.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1857, allocations: 39.97 kB / 0.7281 GB, free: 14.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.186, allocations: 88.8 kB / 0.7282 GB, free: 14.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.186, allocations: 0 / 0.7282 GB, free: 14.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003149/0.1863, allocations: 125.5 kB / 0.7283 GB, free: 14.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1863, allocations: 8 kB / 0.7283 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1863, allocations: 0 / 0.7283 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1863, allocations: 4.438 kB / 0.7284 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.1865, allocations: 23.91 kB / 0.7284 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1865, allocations: 0 / 0.7284 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.1866, allocations: 12 kB / 0.7284 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.1866, allocations: 7.922 kB / 0.7284 GB, free: 14.45 MB / 0.545 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.0001094/0.1867, allocations: 121.8 kB / 0.7285 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.1867, allocations: 11.89 kB / 0.7285 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003925/0.1871, allocations: 142.3 kB / 0.7287 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1871, allocations: 7.984 kB / 0.7287 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1871, allocations: 0 / 0.7287 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1871, allocations: 0 / 0.7287 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.1874, allocations: 205.6 kB / 0.7289 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1874, allocations: 0 / 0.7289 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.1875, allocations: 31.84 kB / 0.7289 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1875, allocations: 0 / 0.7289 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1875, allocations: 0 / 0.7289 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1875, allocations: 4 kB / 0.7289 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1875, allocations: 0 / 0.7289 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.1879, allocations: 223.4 kB / 0.7291 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/0.188, allocations: 85 kB / 0.7292 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.188, allocations: 0 / 0.7292 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1881, allocations: 15.92 kB / 0.7292 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.1882, allocations: 8 kB / 0.7292 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.1882, allocations: 7.984 kB / 0.7292 GB, free: 13.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.714e-05/0.1883, allocations: 107.2 kB / 0.7293 GB, free: 13.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1883, allocations: 0 / 0.7293 GB, free: 13.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002518/0.1885, allocations: 16 kB / 0.7293 GB, free: 13.38 MB / 0.545 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.0008014/0.1893, allocations: 0.7749 MB / 0.7301 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.1896, allocations: 95.88 kB / 0.7302 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1896, allocations: 0 / 0.7302 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.1898, allocations: 47.97 kB / 0.7302 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.19, allocations: 8 kB / 0.7302 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.1922, allocations: 1.626 MB / 0.7318 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.1927, allocations: 0.7098 MB / 0.7325 GB, free: 9.992 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.323e-05/0.1927, allocations: 11.98 kB / 0.7325 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.374e-05/0.1928, allocations: 27.42 kB / 0.7326 GB, free: 9.953 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1928, allocations: 3.938 kB / 0.7326 GB, free: 9.949 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.2183, allocations: 2.098 MB / 0.7346 GB, free: 7.957 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.351, allocations: 15.02 kB / 0.7346 GB, free: 7.945 MB / 0.545 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 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: 12.521963499952108] Failed to read output from testmodel.py, exit status != 0: 8.422740168869495 8.445860048 8.260226846 Calling exit ...