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.001268/0.001268, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001479/0.001479, allocations: 218.9 kB / 23.01 MB, free: 5.074 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8 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.019/1.019, allocations: 150 MB / 463.2 MB, free: 10.49 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.002011/0.002011, allocations: 64.92 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1917, allocations: 89.18 MB / 0.7284 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.00308/0.1948, allocations: 1.623 MB / 0.7299 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.196, allocations: 0.6078 MB / 0.7305 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.857e-05/0.1961, allocations: 7.938 kB / 0.7305 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.1962, allocations: 11.86 kB / 0.7306 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.1963, allocations: 19.8 kB / 0.7306 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.1965, allocations: 59.84 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1967, allocations: 87.7 kB / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1969, allocations: 24.27 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.197, allocations: 55.78 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.648e-05/0.1971, allocations: 35.84 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.1972, allocations: 12 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.1972, allocations: 19.98 kB / 0.7309 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.1973, allocations: 19.92 kB / 0.7309 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.1973, allocations: 43.72 kB / 0.7309 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.1975, allocations: 95.52 kB / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.1975, allocations: 4 kB / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1975, allocations: 0 / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.1975, allocations: 4 kB / 0.731 GB, free: 14.53 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.0005734/0.1981, allocations: 329.8 kB / 0.7313 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1982, allocations: 19.97 kB / 0.7314 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.91e-05/0.1982, allocations: 38.73 kB / 0.7314 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002941/0.1985, allocations: 40.81 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1988, allocations: 142.9 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1988, allocations: 4.375 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.1988, allocations: 11.94 kB / 0.7316 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.1991, allocations: 107.8 kB / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1991, allocations: 4 kB / 0.7317 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1991, allocations: 11.97 kB / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1991, allocations: 3.938 kB / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.1993, allocations: 91.94 kB / 0.7318 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.2, allocations: 355.7 kB / 0.7321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.2001, allocations: 58.55 kB / 0.7322 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.2002, allocations: 44.95 kB / 0.7322 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/0.2003, allocations: 7.984 kB / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.2003, allocations: 30.56 kB / 0.7323 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.2003, allocations: 4 kB / 0.7323 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0004969/0.2008, allocations: 177.4 kB / 0.7324 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.2009, allocations: 51.41 kB / 0.7325 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.201, allocations: 143.5 kB / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.201, allocations: 25.7 kB / 0.7326 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.2011, allocations: 112.1 kB / 0.7328 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.2012, allocations: 23.84 kB / 0.7328 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.2012, allocations: 17.72 kB / 0.7328 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.2014, allocations: 318.8 kB / 0.7331 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.2015, allocations: 39.97 kB / 0.7331 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.2016, allocations: 39.97 kB / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.2019, allocations: 92.8 kB / 0.7333 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2019, allocations: 0 / 0.7333 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000278/0.2021, allocations: 133.5 kB / 0.7334 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2022, allocations: 4 kB / 0.7334 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2022, allocations: 0 / 0.7334 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2022, allocations: 0 / 0.7334 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.2023, allocations: 19.98 kB / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2023, allocations: 0 / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.2024, allocations: 15.98 kB / 0.7334 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.2024, allocations: 4 kB / 0.7334 GB, free: 11.87 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.000104/0.2025, allocations: 113.8 kB / 0.7335 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.2026, allocations: 11.89 kB / 0.7336 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.2029, allocations: 154.7 kB / 0.7337 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2029, allocations: 4 kB / 0.7337 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2029, allocations: 4 kB / 0.7337 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2029, allocations: 3.938 kB / 0.7337 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.2033, allocations: 180.6 kB / 0.7339 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2033, allocations: 0 / 0.7339 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.2034, allocations: 19.92 kB / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2034, allocations: 0 / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.2034, allocations: 4 kB / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2034, allocations: 4 kB / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2034, allocations: 0 / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.2037, allocations: 223.4 kB / 0.7341 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.2037, allocations: 11.89 kB / 0.7341 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.2038, allocations: 4 kB / 0.7341 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.2038, allocations: 7.984 kB / 0.7341 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.2039, allocations: 7.984 kB / 0.7342 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.2039, allocations: 4 kB / 0.7342 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.591e-05/0.204, allocations: 112.9 kB / 0.7343 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.204, allocations: 0 / 0.7343 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002584/0.2043, allocations: 16 kB / 0.7343 GB, free: 10.92 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.0007092/0.205, allocations: 0.7747 MB / 0.735 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002909/0.2053, allocations: 95.94 kB / 0.7351 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2053, allocations: 0 / 0.7351 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.2054, allocations: 51.95 kB / 0.7352 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.2056, allocations: 4 kB / 0.7352 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.2078, allocations: 1.639 MB / 0.7368 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.2082, allocations: 0.7002 MB / 0.7375 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.957e-05/0.2083, allocations: 15.97 kB / 0.7375 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.2083, allocations: 31.42 kB / 0.7375 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.2083, allocations: 4 kB / 0.7375 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.2371, allocations: 2.203 MB / 0.7397 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.21, allocations: 13.78 kB / 0.7397 GB, free: 5.402 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 & 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.114489921001223] Failed to read output from testmodel.py, exit status != 0: 11.315439853999123 11.331420723 11.130691618 Calling exit ...