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.001705/0.001705, allocations: 112.2 kB / 16.46 MB, free: 6.453 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.002151/0.002151, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.488/1.488, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002467/0.002467, allocations: 286.7 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.329/1.329, allocations: 180.9 MB / 0.5333 GB, free: 13.75 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002768/0.002768, allocations: 110.3 kB / 0.7343 GB, free: 28.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1868, allocations: 95.34 MB / 0.8274 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002973/0.1898, allocations: 1.628 MB / 0.829 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1909, allocations: 0.6025 MB / 0.8295 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.761e-05/0.191, allocations: 7.938 kB / 0.8296 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.1911, allocations: 7.875 kB / 0.8296 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.941e-05/0.1911, allocations: 15.8 kB / 0.8296 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.1914, allocations: 63.86 kB / 0.8296 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1916, allocations: 87.7 kB / 0.8297 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.1917, allocations: 36.25 kB / 0.8298 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.1919, allocations: 35.91 kB / 0.8298 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.273e-05/0.192, allocations: 43.78 kB / 0.8298 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.192, allocations: 8 kB / 0.8298 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.672e-05/0.1921, allocations: 19.92 kB / 0.8299 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.1921, allocations: 19.92 kB / 0.8299 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.1922, allocations: 47.73 kB / 0.8299 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1924, allocations: 103.5 kB / 0.83 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1924, allocations: 0 / 0.83 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.265e-06/0.1924, allocations: 0 / 0.83 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.1924, allocations: 0 / 0.83 GB, free: 7.133 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.0005899/0.193, allocations: 414.9 kB / 0.8304 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.193, allocations: 8.031 kB / 0.8304 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.193, allocations: 38.75 kB / 0.8305 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002938/0.1933, allocations: 36.86 kB / 0.8305 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.1936, allocations: 210.2 kB / 0.8307 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1936, allocations: 8.375 kB / 0.8307 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.1937, allocations: 7.938 kB / 0.8307 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.1939, allocations: 110.1 kB / 0.8308 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1939, allocations: 0 / 0.8308 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1939, allocations: 0 / 0.8308 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.1939, allocations: 8 kB / 0.8308 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.1942, allocations: 91.88 kB / 0.8309 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.1948, allocations: 388.5 kB / 0.8313 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.195, allocations: 70.48 kB / 0.8314 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.1951, allocations: 44.95 kB / 0.8314 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.1951, allocations: 4 kB / 0.8314 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1952, allocations: 30.56 kB / 0.8314 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1952, allocations: 0 / 0.8314 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0004855/0.1956, allocations: 173.5 kB / 0.8316 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.1957, allocations: 55.41 kB / 0.8316 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.1958, allocations: 141.1 kB / 0.8318 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1958, allocations: 25.7 kB / 0.8318 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.1959, allocations: 112.2 kB / 0.8319 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.1959, allocations: 15.8 kB / 0.8319 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.196, allocations: 25.7 kB / 0.832 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1961, allocations: 322.8 kB / 0.8323 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.1963, allocations: 39.97 kB / 0.8323 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.1964, allocations: 35.97 kB / 0.8323 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.1966, allocations: 88.8 kB / 0.8324 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1966, allocations: 384 / 0.8324 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002907/0.1969, allocations: 137.5 kB / 0.8325 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1969, allocations: 4 kB / 0.8326 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1969, allocations: 0 / 0.8326 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1969, allocations: 0 / 0.8326 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1971, allocations: 23.91 kB / 0.8326 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1971, allocations: 0 / 0.8326 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.1971, allocations: 12 kB / 0.8326 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.1972, allocations: 3.984 kB / 0.8326 GB, free: 4.273 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 0.000104/0.1973, allocations: 121.8 kB / 0.8327 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.1973, allocations: 15.84 kB / 0.8327 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.1977, allocations: 150.2 kB / 0.8329 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1977, allocations: 0 / 0.8329 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1977, allocations: 0 / 0.8329 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1977, allocations: 7.969 kB / 0.8329 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.1979, allocations: 201.6 kB / 0.8331 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1979, allocations: 0 / 0.8331 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.198, allocations: 27.92 kB / 0.8331 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.198, allocations: 7.922 kB / 0.8331 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.198, allocations: 4 kB / 0.8331 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.198, allocations: 3.938 kB / 0.8331 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.198, allocations: 0 / 0.8331 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.1984, allocations: 223.4 kB / 0.8333 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.1984, allocations: 85 kB / 0.8334 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1985, allocations: 4 kB / 0.8334 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1986, allocations: 11.98 kB / 0.8334 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.1986, allocations: 4 kB / 0.8334 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.1986, allocations: 8.109 kB / 0.8334 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.602e-05/0.1987, allocations: 103.3 kB / 0.8335 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1987, allocations: 0 / 0.8335 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002488/0.199, allocations: 23.95 kB / 0.8335 GB, free: 3.188 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.0006906/0.1996, allocations: 0.767 MB / 0.8343 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003134/0.2, allocations: 103.9 kB / 0.8344 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2, allocations: 4 kB / 0.8344 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.2001, allocations: 47.97 kB / 0.8344 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.2003, allocations: 5.562 kB / 0.8344 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.2023, allocations: 1.634 MB / 0.836 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.2026, allocations: 0.7041 MB / 0.8367 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.59e-05/0.2027, allocations: 11.98 kB / 0.8367 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.2028, allocations: 31.42 kB / 0.8368 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.2028, allocations: 0 / 0.8368 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.228, allocations: 2.119 MB / 0.8388 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.356, allocations: 9.797 kB / 0.8389 GB, free: 13.75 MB / 0.5919 GB " [Timeout remaining time 652] (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: 12.887317392975092] Failed to read output from testmodel.py, exit status != 0: 8.422348381951451 8.437806021 8.242466774 Calling exit ...