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.001407/0.001407, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001849/0.001849, allocations: 209 kB / 22.99 MB, free: 4.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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.98/0.98, allocations: 149.9 MB / 463 MB, free: 10.33 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.002089/0.002089, allocations: 68.55 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1945, allocations: 89.17 MB / 0.7282 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.003388/0.1979, allocations: 1.59 MB / 0.7297 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1992, allocations: 0.5573 MB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.309e-05/0.1993, allocations: 7.938 kB / 0.7303 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.1994, allocations: 15.86 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.744e-05/0.1994, allocations: 11.81 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.1998, allocations: 63.84 kB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000193/0.2, allocations: 83.7 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.2002, allocations: 31.97 kB / 0.7305 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.2004, allocations: 51.73 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.2005, allocations: 43.77 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.2005, allocations: 4 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.2006, allocations: 19.98 kB / 0.7306 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.2007, allocations: 23.92 kB / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.152e-05/0.2007, allocations: 31.8 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.201, allocations: 99.84 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.201, allocations: 0 / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.085e-06/0.201, allocations: 0 / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.201, allocations: 0 / 0.7307 GB, free: 14.38 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.0007922/0.2018, allocations: 341.7 kB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.2018, allocations: 8.031 kB / 0.7311 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.562e-05/0.2019, allocations: 46.73 kB / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/0.2022, allocations: 36.81 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.2026, allocations: 147.6 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2026, allocations: 4.375 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.2026, allocations: 7.938 kB / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.203, allocations: 113.6 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.203, allocations: 0 / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.203, allocations: 4 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.203, allocations: 0 / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.2032, allocations: 99.88 kB / 0.7315 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000723/0.204, allocations: 339.7 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.2041, allocations: 58.48 kB / 0.7319 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.2043, allocations: 48.95 kB / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.43e-05/0.2043, allocations: 8 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.2043, allocations: 34.56 kB / 0.732 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.2043, allocations: 0 / 0.732 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0004844/0.2048, allocations: 165.5 kB / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.2049, allocations: 59.34 kB / 0.7322 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.205, allocations: 135.5 kB / 0.7323 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.205, allocations: 29.7 kB / 0.7323 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/0.2051, allocations: 108.2 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.2051, allocations: 27.78 kB / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.2052, allocations: 21.66 kB / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2054, allocations: 322.8 kB / 0.7328 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.2055, allocations: 39.97 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.2056, allocations: 35.97 kB / 0.7329 GB, free: 12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.2058, allocations: 92.8 kB / 0.733 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2058, allocations: 0 / 0.733 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002724/0.2061, allocations: 129.5 kB / 0.7331 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2061, allocations: 9.875 kB / 0.7331 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2061, allocations: 3.938 kB / 0.7331 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.2061, allocations: 3.984 kB / 0.7331 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.2063, allocations: 15.98 kB / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2063, allocations: 0 / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.2063, allocations: 12 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.2064, allocations: 3.984 kB / 0.7331 GB, free: 11.73 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.0001093/0.2065, allocations: 121.8 kB / 0.7332 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.2065, allocations: 11.89 kB / 0.7333 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.2069, allocations: 150.7 kB / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2069, allocations: 0 / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2069, allocations: 0 / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2069, allocations: 0 / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.2072, allocations: 180.6 kB / 0.7336 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2072, allocations: 4 kB / 0.7336 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.2073, allocations: 19.92 kB / 0.7336 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2073, allocations: 0 / 0.7336 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.2073, allocations: 4 kB / 0.7336 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.2073, allocations: 3.984 kB / 0.7336 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2073, allocations: 0 / 0.7336 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.2077, allocations: 223.4 kB / 0.7338 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.2077, allocations: 15.89 kB / 0.7338 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.2077, allocations: 7.984 kB / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.154e-05/0.2078, allocations: 4 kB / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.2079, allocations: 7.984 kB / 0.7339 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.2079, allocations: 4 kB / 0.7339 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001146/0.208, allocations: 108.9 kB / 0.734 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.208, allocations: 0 / 0.734 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002445/0.2083, allocations: 16 kB / 0.734 GB, free: 10.79 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.0008316/0.2091, allocations: 0.7709 MB / 0.7347 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.2094, allocations: 95.88 kB / 0.7348 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2094, allocations: 0 / 0.7348 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.2095, allocations: 47.95 kB / 0.7349 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.2098, allocations: 15.33 kB / 0.7349 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.2119, allocations: 1.638 MB / 0.7365 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.099e-05/0.212, allocations: 88.19 kB / 0.7366 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.586e-05/0.2121, allocations: 19.97 kB / 0.7366 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.2122, allocations: 35.36 kB / 0.7366 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of SimCode: time 5.92e-07/0.2122, allocations: 0 / 0.7366 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.2409, allocations: 2.583 MB / 0.7391 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.43, allocations: 5.156 kB / 0.7391 GB, free: 5.508 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 & 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: 15.410141679923981] Failed to read output from testmodel.py, exit status != 0: 11.558948869816959 11.574675184 11.370632835 Calling exit ...