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.001283/0.001283, 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.001453/0.001453, allocations: 215 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.017/1.017, allocations: 149.9 MB / 463 MB, free: 10.36 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.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.002143/0.002143, allocations: 63.88 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1964, allocations: 89.18 MB / 0.7282 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001866/0.1983, allocations: 0.5941 MB / 0.7288 GB, free: 408 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002985/0.1986, allocations: 43.86 kB / 0.7288 GB, free: 364 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.584e-05/0.1986, allocations: 0 / 0.7288 GB, free: 364 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.151e-05/0.1986, allocations: 0 / 0.7288 GB, free: 364 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-06/0.1986, allocations: 4 kB / 0.7288 GB, free: 360 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.1989, allocations: 23.92 kB / 0.7288 GB, free: 336 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.207e-05/0.1989, allocations: 0 / 0.7288 GB, free: 336 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.199, allocations: 0 / 0.7288 GB, free: 336 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.236e-05/0.199, allocations: 0 / 0.7288 GB, free: 336 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.102e-05/0.199, allocations: 7.984 kB / 0.7288 GB, free: 328 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.199, allocations: 0 / 0.7288 GB, free: 328 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1991, allocations: 19.97 kB / 0.7289 GB, free: 308 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.1992, allocations: 0 / 0.7289 GB, free: 308 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.1992, allocations: 4 kB / 0.7289 GB, free: 304 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.436e-05/0.1993, allocations: 15.92 kB / 0.7289 GB, free: 288 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1993, allocations: 4 kB / 0.7289 GB, free: 284 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1993, allocations: 0 / 0.7289 GB, free: 284 kB / 0.545 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.1993, allocations: 0 / 0.7289 GB, free: 284 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.0002988/0.1996, allocations: 238.7 kB / 0.7291 GB, free: 12 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1996, allocations: 12.03 kB / 0.7291 GB, free: 0 / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.339e-05/0.1997, allocations: 34.69 kB / 0.7292 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.1999, allocations: 16.91 kB / 0.7292 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.8e-05/0.2, allocations: 114.5 kB / 0.7293 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.2, allocations: 384 / 0.7293 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.2001, allocations: 4.375 kB / 0.7293 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.2002, allocations: 34.25 kB / 0.7293 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2002, allocations: 3.938 kB / 0.7293 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.2002, allocations: 0 / 0.7293 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2002, allocations: 0 / 0.7293 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.939e-05/0.2003, allocations: 11.98 kB / 0.7293 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.2005, allocations: 120.8 kB / 0.7295 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.419e-05/0.2005, allocations: 22.55 kB / 0.7295 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.734e-05/0.2006, allocations: 16.91 kB / 0.7295 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.2006, allocations: 0 / 0.7295 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.2006, allocations: 30.56 kB / 0.7295 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.2007, allocations: 4 kB / 0.7295 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002251/0.2009, allocations: 45.56 kB / 0.7296 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.2009, allocations: 59.33 kB / 0.7296 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.587e-05/0.201, allocations: 97.86 kB / 0.7297 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.201, allocations: 25.83 kB / 0.7297 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.201, allocations: 84.14 kB / 0.7298 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.2011, allocations: 3.953 kB / 0.7298 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.2011, allocations: 13.72 kB / 0.7298 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2012, allocations: 310.8 kB / 0.7301 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.2013, allocations: 7.984 kB / 0.7301 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.642e-05/0.2013, allocations: 0 / 0.7301 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.688e-05/0.2014, allocations: 20.84 kB / 0.7302 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2014, allocations: 4.062 kB / 0.7302 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001247/0.2015, allocations: 41.62 kB / 0.7302 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2015, allocations: 11.94 kB / 0.7302 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2015, allocations: 3.938 kB / 0.7302 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2016, allocations: 0 / 0.7302 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.335e-05/0.2016, allocations: 7.984 kB / 0.7302 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2016, allocations: 0 / 0.7302 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.133e-05/0.2017, allocations: 0 / 0.7302 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.2017, allocations: 0 / 0.7302 GB, free: 14.71 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.754e-05/0.2018, allocations: 113.9 kB / 0.7303 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.2018, allocations: 3.984 kB / 0.7303 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.2018, allocations: 10.92 kB / 0.7304 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2018, allocations: 0 / 0.7304 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2018, allocations: 0 / 0.7304 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2018, allocations: 0 / 0.7304 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.2019, allocations: 120.8 kB / 0.7305 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2019, allocations: 0 / 0.7305 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.202, allocations: 7.984 kB / 0.7305 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.202, allocations: 0 / 0.7305 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.202, allocations: 7.938 kB / 0.7305 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.202, allocations: 0 / 0.7305 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.202, allocations: 0 / 0.7305 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.2022, allocations: 69.06 kB / 0.7306 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.2022, allocations: 7.984 kB / 0.7306 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.2022, allocations: 3.938 kB / 0.7306 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.259e-05/0.2022, allocations: 4 kB / 0.7306 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-06/0.2022, allocations: 0 / 0.7306 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.2022, allocations: 0 / 0.7306 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.282e-05/0.2023, allocations: 79.31 kB / 0.7306 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2023, allocations: 0 / 0.7306 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001823/0.2024, allocations: 4 kB / 0.7306 GB, free: 14.21 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.0004669/0.2029, allocations: 0.6006 MB / 0.7312 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.203, allocations: 15.92 kB / 0.7312 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.203, allocations: 0 / 0.7312 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.2031, allocations: 12.08 kB / 0.7313 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.2032, allocations: 3.938 kB / 0.7313 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.2036, allocations: 110.6 kB / 0.7314 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.443e-05/0.2036, allocations: 55.3 kB / 0.7314 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.32e-05/0.2037, allocations: 8 kB / 0.7314 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.2037, allocations: 11.5 kB / 0.7314 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2037, allocations: 0 / 0.7314 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.2328, allocations: 1.452 MB / 0.7329 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.32, allocations: 9.953 kB / 0.7329 GB, free: 11.98 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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.155291444156319] Failed to read output from testmodel.py, exit status != 0: 11.426161208190024 11.448195664 11.244357469 Calling exit ...