Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.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.001342/0.001342, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001458/0.001458, allocations: 212.4 kB / 22.99 MB, free: 4.605 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.066/1.066, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 178] 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.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",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.002259/0.002259, allocations: 62.62 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1963, allocations: 89.18 MB / 0.7282 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001975/0.1983, allocations: 0.5799 MB / 0.7288 GB, free: 432 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003002/0.1986, allocations: 39.88 kB / 0.7288 GB, free: 392 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.743e-05/0.1986, allocations: 3.938 kB / 0.7288 GB, free: 388 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.1986, allocations: 3.938 kB / 0.7288 GB, free: 384 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.662e-06/0.1986, allocations: 0 / 0.7288 GB, free: 384 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.1989, allocations: 15.98 kB / 0.7288 GB, free: 368 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.672e-05/0.1989, allocations: 7.984 kB / 0.7288 GB, free: 360 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.318e-05/0.199, allocations: 4 kB / 0.7288 GB, free: 356 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.426e-05/0.199, allocations: 0 / 0.7288 GB, free: 356 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.178e-05/0.199, allocations: 0 / 0.7288 GB, free: 356 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.199, allocations: 0 / 0.7288 GB, free: 356 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1991, allocations: 23.97 kB / 0.7289 GB, free: 332 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.1991, allocations: 0 / 0.7289 GB, free: 332 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.57e-05/0.1991, allocations: 3.938 kB / 0.7289 GB, free: 328 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.553e-05/0.1992, allocations: 19.97 kB / 0.7289 GB, free: 308 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1992, allocations: 0 / 0.7289 GB, free: 308 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1992, allocations: 0 / 0.7289 GB, free: 308 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1992, allocations: 4 kB / 0.7289 GB, free: 304 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002953/0.1995, allocations: 238.7 kB / 0.7291 GB, free: 32 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1996, allocations: 8.031 kB / 0.7291 GB, free: 24 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.1996, allocations: 30.75 kB / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.1999, allocations: 24.91 kB / 0.7292 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.456e-05/0.2, allocations: 106.5 kB / 0.7293 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2, allocations: 4.312 kB / 0.7293 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.2, allocations: 384 / 0.7293 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.2001, allocations: 38.25 kB / 0.7293 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2001, allocations: 3.938 kB / 0.7293 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.2001, allocations: 4 kB / 0.7293 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2001, allocations: 0 / 0.7293 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.716e-05/0.2002, allocations: 11.92 kB / 0.7293 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.2004, allocations: 128.8 kB / 0.7295 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.2005, allocations: 18.61 kB / 0.7295 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.2005, allocations: 8.844 kB / 0.7295 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.2006, allocations: 8.062 kB / 0.7295 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2006, allocations: 30.56 kB / 0.7295 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2006, allocations: 0 / 0.7295 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002441/0.2008, allocations: 57.55 kB / 0.7296 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.2009, allocations: 51.41 kB / 0.7296 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.537e-05/0.2009, allocations: 89.86 kB / 0.7297 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.2009, allocations: 29.64 kB / 0.7297 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.201, allocations: 80.14 kB / 0.7298 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.201, allocations: 4.078 kB / 0.7298 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.201, allocations: 17.72 kB / 0.7298 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2012, allocations: 310.8 kB / 0.7301 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-05/0.2012, allocations: 7.984 kB / 0.7301 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-05/0.2013, allocations: 4 kB / 0.7301 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.2014, allocations: 20.84 kB / 0.7302 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2014, allocations: 0 / 0.7302 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001355/0.2015, allocations: 45.69 kB / 0.7302 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2015, allocations: 7.984 kB / 0.7302 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2015, allocations: 3.938 kB / 0.7302 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2015, allocations: 0 / 0.7302 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/0.2016, allocations: 4 kB / 0.7302 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2016, allocations: 0 / 0.7302 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.2016, allocations: 4 kB / 0.7302 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.2016, allocations: 0 / 0.7302 GB, free: 14.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 (1): * Single equations (assignments): 1 * 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 8.426e-05/0.2017, allocations: 109.8 kB / 0.7303 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-06/0.2017, allocations: 32 / 0.7303 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.2018, allocations: 14.94 kB / 0.7303 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2018, allocations: 3.938 kB / 0.7304 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2018, allocations: 0 / 0.7304 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2018, allocations: 0 / 0.7304 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.2019, allocations: 116.8 kB / 0.7305 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2019, allocations: 0 / 0.7305 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.2019, allocations: 7.984 kB / 0.7305 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2019, allocations: 0 / 0.7305 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.2019, allocations: 3.938 kB / 0.7305 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2019, allocations: 0 / 0.7305 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2019, allocations: 8 kB / 0.7305 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.2021, allocations: 69.05 kB / 0.7305 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-06/0.2021, allocations: 4 kB / 0.7306 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.2021, allocations: 3.938 kB / 0.7306 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.945e-05/0.2021, allocations: 0 / 0.7306 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-06/0.2021, allocations: 0 / 0.7306 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/0.2022, allocations: 8 kB / 0.7306 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.618e-05/0.2022, allocations: 75.28 kB / 0.7306 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2022, allocations: 0 / 0.7306 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001746/0.2024, allocations: 4.031 kB / 0.7306 GB, free: 14.23 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 (1): * Single equations (assignments): 1 * 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.0004796/0.2028, allocations: 0.6006 MB / 0.7312 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.203, allocations: 15.92 kB / 0.7312 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.203, allocations: 0 / 0.7312 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.605e-05/0.203, allocations: 7.984 kB / 0.7312 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.2032, allocations: 14.59 kB / 0.7313 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.2035, allocations: 106.6 kB / 0.7314 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.975e-05/0.2036, allocations: 55.36 kB / 0.7314 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.341e-05/0.2036, allocations: 7.984 kB / 0.7314 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.2036, allocations: 7.438 kB / 0.7314 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.2036, allocations: 4 kB / 0.7314 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.2323, allocations: 1.452 MB / 0.7329 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.4, allocations: 10.88 kB / 0.7329 GB, free: 12.01 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.490892761852592] Failed to read output from testmodel.py, exit status != 0: 11.515037952922285 11.533202453 11.330915637 Calling exit ...