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.001692/0.001692, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002099/0.002099, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.407/1.407, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002516/0.002516, allocations: 293.2 kB / 312.7 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.19/1.19, allocations: 180.6 MB / 0.5369 GB, free: 14.61 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002984/0.002984, allocations: 97.72 kB / 0.7395 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.198, allocations: 95.39 MB / 0.8327 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.00177/0.1998, allocations: 0.5969 MB / 0.8333 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002752/0.2001, allocations: 44.22 kB / 0.8333 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.609e-05/0.2001, allocations: 3.938 kB / 0.8333 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.2001, allocations: 0 / 0.8333 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.2001, allocations: 0 / 0.8333 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.2004, allocations: 15.98 kB / 0.8333 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.161e-05/0.2004, allocations: 3.938 kB / 0.8333 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.2004, allocations: 0 / 0.8333 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.165e-05/0.2005, allocations: 7.984 kB / 0.8333 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.257e-05/0.2005, allocations: 0 / 0.8333 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.2005, allocations: 4 kB / 0.8333 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.2006, allocations: 19.97 kB / 0.8334 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.2006, allocations: 4 kB / 0.8334 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.338e-05/0.2006, allocations: 0 / 0.8334 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.191e-05/0.2007, allocations: 12.27 kB / 0.8334 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2007, allocations: 0 / 0.8334 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2007, allocations: 0 / 0.8334 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2007, allocations: 7.938 kB / 0.8334 GB, free: 7.566 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.0002934/0.201, allocations: 247.4 kB / 0.8336 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.2011, allocations: 9.938 kB / 0.8336 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.2011, allocations: 30.75 kB / 0.8337 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/0.2013, allocations: 24.91 kB / 0.8337 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.347e-05/0.2014, allocations: 106.5 kB / 0.8338 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.2014, allocations: 384 / 0.8338 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.2015, allocations: 4.359 kB / 0.8338 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.2016, allocations: 34.25 kB / 0.8338 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.2016, allocations: 3.938 kB / 0.8338 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.2016, allocations: 3.938 kB / 0.8338 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2016, allocations: 0 / 0.8338 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.727e-05/0.2017, allocations: 15.98 kB / 0.8338 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.2018, allocations: 124.7 kB / 0.834 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.134e-05/0.2019, allocations: 18.61 kB / 0.834 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.202, allocations: 12.91 kB / 0.834 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.202, allocations: 0 / 0.834 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.202, allocations: 34.56 kB / 0.834 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.202, allocations: 0 / 0.834 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002336/0.2023, allocations: 57.55 kB / 0.8341 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.2023, allocations: 55.41 kB / 0.8341 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.884e-05/0.2024, allocations: 89.86 kB / 0.8342 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.2024, allocations: 25.7 kB / 0.8342 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.2024, allocations: 80.14 kB / 0.8343 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.2024, allocations: 0 / 0.8343 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.2025, allocations: 13.72 kB / 0.8343 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2026, allocations: 310.8 kB / 0.8346 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.756e-05/0.2026, allocations: 11.92 kB / 0.8346 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.93e-05/0.2027, allocations: 8.125 kB / 0.8346 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.815e-05/0.2028, allocations: 20.78 kB / 0.8347 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2028, allocations: 0 / 0.8347 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001243/0.2029, allocations: 41.69 kB / 0.8347 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2029, allocations: 4 kB / 0.8347 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.2029, allocations: 7.922 kB / 0.8347 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2029, allocations: 0 / 0.8347 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.203, allocations: 12.03 kB / 0.8347 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.203, allocations: 0 / 0.8347 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.203, allocations: 0 / 0.8347 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.203, allocations: 4 kB / 0.8347 GB, free: 5.988 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 7.985e-05/0.2031, allocations: 110.5 kB / 0.8348 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-06/0.2031, allocations: 0 / 0.8348 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.2032, allocations: 6.938 kB / 0.8348 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.2032, allocations: 0 / 0.8348 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2032, allocations: 0 / 0.8348 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2032, allocations: 4 kB / 0.8348 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.976e-05/0.2033, allocations: 120.8 kB / 0.835 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2033, allocations: 4 kB / 0.835 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.2033, allocations: 7.984 kB / 0.835 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.2033, allocations: 0 / 0.835 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-06/0.2033, allocations: 7.875 kB / 0.835 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2033, allocations: 0 / 0.835 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2033, allocations: 0 / 0.835 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.2035, allocations: 65.12 kB / 0.835 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.662e-06/0.2035, allocations: 3.984 kB / 0.835 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.2035, allocations: 11.97 kB / 0.8351 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.872e-05/0.2035, allocations: 0 / 0.8351 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.2035, allocations: 0 / 0.8351 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.2035, allocations: 0 / 0.8351 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.415e-05/0.2036, allocations: 75.28 kB / 0.8351 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2036, allocations: 0 / 0.8351 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000173/0.2037, allocations: 4 kB / 0.8351 GB, free: 5.504 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.0004829/0.2042, allocations: 0.6084 MB / 0.8357 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.2044, allocations: 11.98 kB / 0.8357 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2044, allocations: 0 / 0.8357 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/0.2044, allocations: 7.984 kB / 0.8357 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.2045, allocations: 4 kB / 0.8358 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.2049, allocations: 118.6 kB / 0.8359 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.326e-05/0.2049, allocations: 55.36 kB / 0.8359 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.205, allocations: 8.109 kB / 0.8359 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.205, allocations: 7.438 kB / 0.8359 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.205, allocations: 0 / 0.8359 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.2331, allocations: 1.466 MB / 0.8374 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.33, allocations: 10.03 kB / 0.8374 GB, free: 3.258 MB / 0.5762 GB " [Timeout remaining time 649] (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: 15.535167237743735] Failed to read output from testmodel.py, exit status != 0: 11.433005586266518 11.459896156 11.254517502 Calling exit ...