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.001441/0.001441, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.00144/0.00144, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.594/1.594, allocations: 230.6 MB / 254.2 MB, free: 15.05 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.9922/0.9922, allocations: 150 MB / 460.2 MB, free: 5.594 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="cs",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.002069/0.002069, allocations: 71.78 kB / 0.6368 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1899, allocations: 89.13 MB / 0.7238 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.003385/0.1933, allocations: 1.623 MB / 0.7254 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1944, allocations: 0.6018 MB / 0.726 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.626e-05/0.1945, allocations: 0 / 0.726 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.1946, allocations: 11.86 kB / 0.726 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.913e-05/0.1947, allocations: 19.8 kB / 0.7261 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.195, allocations: 63.84 kB / 0.7261 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1951, allocations: 83.7 kB / 0.7262 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.1953, allocations: 32.27 kB / 0.7262 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1955, allocations: 55.78 kB / 0.7263 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.027e-05/0.1956, allocations: 39.83 kB / 0.7263 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.1956, allocations: 8 kB / 0.7263 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.348e-05/0.1957, allocations: 12 kB / 0.7263 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.1957, allocations: 27.91 kB / 0.7264 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.536e-05/0.1958, allocations: 39.73 kB / 0.7264 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.196, allocations: 95.52 kB / 0.7265 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.196, allocations: 0 / 0.7265 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.196, allocations: 0 / 0.7265 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.196, allocations: 7.938 kB / 0.7265 GB, free: 1.273 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.0006462/0.1966, allocations: 410.9 kB / 0.7269 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.1967, allocations: 12.03 kB / 0.7269 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.283e-05/0.1967, allocations: 192 / 0.7269 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.1967, allocations: 46.67 kB / 0.7269 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003044/0.197, allocations: 40.81 kB / 0.727 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.1974, allocations: 212.7 kB / 0.7272 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1974, allocations: 8.125 kB / 0.7272 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.1974, allocations: 8 kB / 0.7272 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.1977, allocations: 103.5 kB / 0.7273 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1977, allocations: 0 / 0.7273 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.1977, allocations: 7.984 kB / 0.7273 GB, free: 352 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1977, allocations: 4 kB / 0.7273 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.1979, allocations: 95.92 kB / 0.7274 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006614/0.1986, allocations: 376.7 kB / 0.7278 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1988, allocations: 58.55 kB / 0.7278 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.1989, allocations: 52.95 kB / 0.7279 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/0.1989, allocations: 11.92 kB / 0.7279 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.199, allocations: 30.56 kB / 0.7279 GB, free: 15.65 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.199, allocations: 0 / 0.7279 GB, free: 15.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0005288/0.1995, allocations: 173.4 kB / 0.7281 GB, free: 15.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.1996, allocations: 55.41 kB / 0.7281 GB, free: 15.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1997, allocations: 140.8 kB / 0.7283 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1997, allocations: 25.7 kB / 0.7283 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.1998, allocations: 112.1 kB / 0.7284 GB, free: 15.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.1998, allocations: 19.86 kB / 0.7284 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.1999, allocations: 21.7 kB / 0.7284 GB, free: 15.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.2, allocations: 322.8 kB / 0.7287 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.2001, allocations: 43.97 kB / 0.7288 GB, free: 14.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.2002, allocations: 35.97 kB / 0.7288 GB, free: 14.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.2005, allocations: 84.81 kB / 0.7289 GB, free: 14.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2005, allocations: 0 / 0.7289 GB, free: 14.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002986/0.2008, allocations: 133.8 kB / 0.729 GB, free: 14.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2008, allocations: 12 kB / 0.729 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2008, allocations: 4.062 kB / 0.729 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2008, allocations: 0 / 0.729 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.2009, allocations: 15.98 kB / 0.7291 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.201, allocations: 3.938 kB / 0.7291 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.201, allocations: 11.98 kB / 0.7291 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.201, allocations: 0 / 0.7291 GB, free: 14.41 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.0001032/0.2011, allocations: 125.8 kB / 0.7292 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.2012, allocations: 15.89 kB / 0.7292 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.2016, allocations: 142.2 kB / 0.7293 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2016, allocations: 4 kB / 0.7293 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2016, allocations: 0 / 0.7293 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2016, allocations: 0 / 0.7293 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.2018, allocations: 209.6 kB / 0.7295 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2018, allocations: 3.938 kB / 0.7295 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.2019, allocations: 19.98 kB / 0.7296 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2019, allocations: 4 kB / 0.7296 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.2019, allocations: 0 / 0.7296 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2019, allocations: 3.984 kB / 0.7296 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2019, allocations: 0 / 0.7296 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.2023, allocations: 223.4 kB / 0.7298 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.2024, allocations: 88.98 kB / 0.7299 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.2024, allocations: 8 kB / 0.7299 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/0.2025, allocations: 4 kB / 0.7299 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.2025, allocations: 7.984 kB / 0.7299 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.2025, allocations: 8.125 kB / 0.7299 GB, free: 13.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.824e-05/0.2026, allocations: 111.2 kB / 0.73 GB, free: 13.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2026, allocations: 0 / 0.73 GB, free: 13.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002465/0.2029, allocations: 16 kB / 0.73 GB, free: 13.32 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.0007461/0.2036, allocations: 0.7708 MB / 0.7308 GB, free: 12.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.2039, allocations: 91.94 kB / 0.7309 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2039, allocations: 0 / 0.7309 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.2041, allocations: 59.89 kB / 0.7309 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.2043, allocations: 9.406 kB / 0.7309 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.2065, allocations: 1.619 MB / 0.7325 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.2068, allocations: 0.708 MB / 0.7332 GB, free: 9.945 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.912e-05/0.2069, allocations: 19.91 kB / 0.7332 GB, free: 9.926 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.207, allocations: 27.42 kB / 0.7332 GB, free: 9.898 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.207, allocations: 0 / 0.7332 GB, free: 9.898 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.2265, allocations: 2.14 MB / 0.7353 GB, free: 7.879 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.383/8.61, allocations: 10.62 kB / 0.7353 GB, free: 7.871 MB / 0.545 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.703826072975062] Failed to read output from testmodel.py, exit status != 0: 8.736183511035051 8.753448381 8.55431565 Calling exit ...