Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001592/0.001592, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.00186/0.00186, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002442/0.002442, allocations: 283 kB / 312.7 MB, free: 2.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.259/1.259, allocations: 180.6 MB / 0.5369 GB, free: 12.97 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002897/0.002897, allocations: 105.8 kB / 0.7396 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1889, allocations: 95.38 MB / 0.8327 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002908/0.1918, allocations: 1.643 MB / 0.8343 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1929, allocations: 0.6103 MB / 0.8349 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.193, allocations: 0 / 0.8349 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.1931, allocations: 15.8 kB / 0.835 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.615e-05/0.1931, allocations: 11.88 kB / 0.835 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.1934, allocations: 63.86 kB / 0.835 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1936, allocations: 87.64 kB / 0.8351 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.1938, allocations: 32.23 kB / 0.8351 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1939, allocations: 39.92 kB / 0.8352 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.371e-05/0.194, allocations: 47.77 kB / 0.8352 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.194, allocations: 8 kB / 0.8352 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.108e-05/0.1941, allocations: 19.98 kB / 0.8352 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.1941, allocations: 19.92 kB / 0.8353 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.1942, allocations: 43.73 kB / 0.8353 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.1944, allocations: 107.4 kB / 0.8354 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1944, allocations: 0 / 0.8354 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1944, allocations: 0 / 0.8354 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.1944, allocations: 0 / 0.8354 GB, free: 5.875 MB / 0.5762 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.0005963/0.195, allocations: 337.8 kB / 0.8357 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.195, allocations: 9.938 kB / 0.8357 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.449e-05/0.1951, allocations: 38.75 kB / 0.8358 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/0.1954, allocations: 36.84 kB / 0.8358 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.1956, allocations: 142.9 kB / 0.836 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1956, allocations: 8.312 kB / 0.836 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.1957, allocations: 11.92 kB / 0.836 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.1959, allocations: 115.5 kB / 0.8361 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1959, allocations: 0 / 0.8361 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1959, allocations: 0 / 0.8361 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1959, allocations: 0 / 0.8361 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.1962, allocations: 95.92 kB / 0.8362 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/0.1968, allocations: 359.6 kB / 0.8365 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.197, allocations: 62.48 kB / 0.8366 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.1971, allocations: 44.95 kB / 0.8366 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.1971, allocations: 0 / 0.8366 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1971, allocations: 38.5 kB / 0.8367 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.1971, allocations: 4 kB / 0.8367 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0004724/0.1976, allocations: 165.5 kB / 0.8368 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.1977, allocations: 55.41 kB / 0.8369 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1978, allocations: 138.4 kB / 0.837 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1978, allocations: 25.7 kB / 0.837 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.1979, allocations: 108.2 kB / 0.8371 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.1979, allocations: 23.84 kB / 0.8372 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.1979, allocations: 17.72 kB / 0.8372 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1981, allocations: 322.8 kB / 0.8375 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.1982, allocations: 35.97 kB / 0.8375 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.824e-05/0.1983, allocations: 40.34 kB / 0.8375 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.1985, allocations: 100.7 kB / 0.8376 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1985, allocations: 0 / 0.8376 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002645/0.1988, allocations: 125.5 kB / 0.8378 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1988, allocations: 7.984 kB / 0.8378 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1988, allocations: 4 kB / 0.8378 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1988, allocations: 0 / 0.8378 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1989, allocations: 19.98 kB / 0.8378 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.199, allocations: 0 / 0.8378 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.199, allocations: 11.98 kB / 0.8378 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.199, allocations: 4 kB / 0.8378 GB, free: 3.227 MB / 0.5762 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.983e-05/0.1991, allocations: 118.4 kB / 0.8379 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.1992, allocations: 19.84 kB / 0.8379 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/0.1995, allocations: 146.2 kB / 0.8381 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1995, allocations: 0 / 0.8381 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1995, allocations: 4 kB / 0.8381 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.1995, allocations: 4 kB / 0.8381 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.1998, allocations: 172.7 kB / 0.8383 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1998, allocations: 0 / 0.8383 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.1999, allocations: 23.91 kB / 0.8383 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1999, allocations: 0 / 0.8383 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1999, allocations: 8 kB / 0.8383 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1999, allocations: 11.81 kB / 0.8383 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1999, allocations: 0 / 0.8383 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.2002, allocations: 223.6 kB / 0.8385 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.2002, allocations: 11.89 kB / 0.8385 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.2003, allocations: 4 kB / 0.8385 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.696e-05/0.2003, allocations: 11.98 kB / 0.8385 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.2004, allocations: 3.984 kB / 0.8385 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.2004, allocations: 4 kB / 0.8385 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.545e-05/0.2005, allocations: 109.3 kB / 0.8386 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2005, allocations: 0 / 0.8386 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002605/0.2007, allocations: 23.94 kB / 0.8387 GB, free: 2.266 MB / 0.5762 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.0006664/0.2014, allocations: 0.7669 MB / 0.8394 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.2017, allocations: 95.94 kB / 0.8395 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2017, allocations: 0 / 0.8395 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.2018, allocations: 47.91 kB / 0.8396 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.202, allocations: 14.39 kB / 0.8396 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.2041, allocations: 1.626 MB / 0.8412 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.2045, allocations: 0.7041 MB / 0.8418 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.307e-05/0.2045, allocations: 15.91 kB / 0.8419 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.2046, allocations: 31.42 kB / 0.8419 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.2046, allocations: 4 kB / 0.8419 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.2339, allocations: 2.24 MB / 0.8441 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.99, allocations: 13.72 kB / 0.8441 GB, free: 12.73 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.35788274999868] Failed to read output from testmodel.py, exit status != 0: 11.092328048998752 11.116063737 10.917060168 Calling exit ...