Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001368/0.001368, allocations: 107.8 kB / 16.45 MB, free: 6.453 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.00138/0.00138, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.43/1.43, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002519/0.002519, allocations: 290.4 kB / 309.1 MB, free: 3.957 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.212/1.212, allocations: 180.9 MB / 0.5333 GB, free: 13.8 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.0028/0.0028, allocations: 105.4 kB / 0.7343 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1953, allocations: 95.35 MB / 0.8274 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001756/0.1971, allocations: 0.596 MB / 0.828 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002958/0.1973, allocations: 51.84 kB / 0.828 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.844e-05/0.1974, allocations: 0 / 0.828 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.1974, allocations: 0 / 0.828 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-06/0.1974, allocations: 3.938 kB / 0.828 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.1976, allocations: 11.92 kB / 0.8281 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.657e-05/0.1977, allocations: 0 / 0.8281 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.1978, allocations: 4 kB / 0.8281 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.347e-05/0.1978, allocations: 0 / 0.8281 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.834e-05/0.1978, allocations: 7.984 kB / 0.8281 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.1978, allocations: 4 kB / 0.8281 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1979, allocations: 19.98 kB / 0.8281 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.1979, allocations: 0 / 0.8281 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.198, allocations: 0 / 0.8281 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.1981, allocations: 16.25 kB / 0.8281 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1981, allocations: 4 kB / 0.8281 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1981, allocations: 0 / 0.8281 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.1981, allocations: 0 / 0.8281 GB, free: 9.125 MB / 0.5762 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.0003729/0.1985, allocations: 311.5 kB / 0.8284 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.1985, allocations: 8.031 kB / 0.8284 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.1985, allocations: 42.67 kB / 0.8285 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.1988, allocations: 16.91 kB / 0.8285 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.1989, allocations: 164.4 kB / 0.8286 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1989, allocations: 384 / 0.8286 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.199, allocations: 4.312 kB / 0.8286 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.1991, allocations: 34.25 kB / 0.8287 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1991, allocations: 3.938 kB / 0.8287 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1991, allocations: 8 kB / 0.8287 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1991, allocations: 0 / 0.8287 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.486e-05/0.1992, allocations: 11.98 kB / 0.8287 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.1994, allocations: 149.6 kB / 0.8288 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.194e-05/0.1995, allocations: 22.55 kB / 0.8288 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.794e-05/0.1995, allocations: 13.31 kB / 0.8289 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1995, allocations: 4 kB / 0.8289 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.1996, allocations: 34.56 kB / 0.8289 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.1996, allocations: 0 / 0.8289 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002539/0.1998, allocations: 45.62 kB / 0.8289 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.1999, allocations: 59.33 kB / 0.829 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.292e-05/0.1999, allocations: 89.86 kB / 0.8291 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1999, allocations: 25.7 kB / 0.8291 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.2, allocations: 84.27 kB / 0.8292 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.2, allocations: 0 / 0.8292 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.2, allocations: 17.72 kB / 0.8292 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.2002, allocations: 310.8 kB / 0.8295 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.2002, allocations: 7.984 kB / 0.8295 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.943e-05/0.2003, allocations: 4 kB / 0.8295 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.443e-05/0.2004, allocations: 16.91 kB / 0.8295 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2004, allocations: 0 / 0.8295 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001303/0.2005, allocations: 45.62 kB / 0.8296 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2005, allocations: 4 kB / 0.8296 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2005, allocations: 3.938 kB / 0.8296 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2005, allocations: 0 / 0.8296 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.902e-05/0.2006, allocations: 7.984 kB / 0.8296 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2006, allocations: 4 kB / 0.8296 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.2007, allocations: 4.031 kB / 0.8296 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2007, allocations: 4 kB / 0.8296 GB, free: 7.359 MB / 0.5762 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.18e-05/0.2007, allocations: 109.8 kB / 0.8297 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/0.2008, allocations: 3.984 kB / 0.8297 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.445e-05/0.2008, allocations: 11.05 kB / 0.8297 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2008, allocations: 0 / 0.8297 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2008, allocations: 3.938 kB / 0.8297 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2008, allocations: 0 / 0.8297 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.2009, allocations: 153.7 kB / 0.8299 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2009, allocations: 0 / 0.8299 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/0.2009, allocations: 7.984 kB / 0.8299 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.2009, allocations: 0 / 0.8299 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.201, allocations: 3.938 kB / 0.8299 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.201, allocations: 0 / 0.8299 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.201, allocations: 0 / 0.8299 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.2011, allocations: 81.05 kB / 0.83 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.2012, allocations: 77.11 kB / 0.83 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.2012, allocations: 3.938 kB / 0.83 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.066e-05/0.2012, allocations: 3.938 kB / 0.83 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-06/0.2012, allocations: 0 / 0.83 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2012, allocations: 4 kB / 0.83 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.043e-05/0.2012, allocations: 75.28 kB / 0.8301 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2012, allocations: 0 / 0.8301 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001709/0.2014, allocations: 0 / 0.8301 GB, free: 6.738 MB / 0.5762 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.0004742/0.2019, allocations: 0.6124 MB / 0.8307 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.202, allocations: 19.92 kB / 0.8307 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.202, allocations: 4.094 kB / 0.8307 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.71e-05/0.2021, allocations: 7.984 kB / 0.8307 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.2022, allocations: 4 kB / 0.8307 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.2026, allocations: 106.7 kB / 0.8308 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.2029, allocations: 0.669 MB / 0.8315 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.2029, allocations: 4.062 kB / 0.8315 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.2029, allocations: 11.44 kB / 0.8315 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.2029, allocations: 0 / 0.8315 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.2257, allocations: 0.9698 MB / 0.8325 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.095, allocations: 4.922 kB / 0.8325 GB, free: 4.344 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.322421893943101] Failed to read output from testmodel.py, exit status != 0: 8.164579153060913 8.191093236 7.988373286 Calling exit ...