Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.7 MB / 0.7629 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 75.88 kB / 1.107 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.976/0.9782, allocations: 168.7 MB / 1.272 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.00157/0.9798, allocations: 0.6 MB / 1.272 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000239/0.98, allocations: 57.72 kB / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.98, allocations: 0 / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.9801, allocations: 0 / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.493e-06/0.9801, allocations: 0.6875 kB / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.9803, allocations: 16.08 kB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.015e-05/0.9803, allocations: 2.484 kB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.9804, allocations: 1.938 kB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.353e-05/0.9804, allocations: 3 kB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.064e-05/0.9804, allocations: 0.5938 kB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.9804, allocations: 4.594 kB / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.9805, allocations: 28.69 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.9805, allocations: 0 / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.558e-05/0.9805, allocations: 0.5938 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.25e-05/0.9806, allocations: 17.66 kB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9806, allocations: 0.7188 kB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9806, allocations: 0 / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.9806, allocations: 0.625 kB / 1.272 GB, free: 7.273 MB / 0.9981 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.0002092/0.9808, allocations: 315.2 kB / 1.273 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.9809, allocations: 9.062 kB / 1.273 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.587e-05/0.9809, allocations: 35.44 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.9811, allocations: 18.42 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.253e-05/0.9812, allocations: 166.3 kB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.9812, allocations: 5.094 kB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.9812, allocations: 1.594 kB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.9813, allocations: 33.5 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.9813, allocations: 4.969 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.9814, allocations: 4.547 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.9814, allocations: 4 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.9815, allocations: 9.062 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.226e-05/0.9815, allocations: 145 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.829e-05/0.9816, allocations: 29.09 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.9817, allocations: 9.859 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.9817, allocations: 4.719 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.9817, allocations: 32.3 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.9817, allocations: 0 / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002213/0.9819, allocations: 47.59 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.982, allocations: 51.92 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.349e-05/0.982, allocations: 90.61 kB / 1.273 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.982, allocations: 26.22 kB / 1.273 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.808e-06/0.982, allocations: 89.05 kB / 1.273 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.982, allocations: 0 / 1.273 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.982, allocations: 13.03 kB / 1.273 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.023e-05/0.9821, allocations: 317.1 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.113e-05/0.9821, allocations: 4.25 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.169e-05/0.9822, allocations: 5.609 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.043e-05/0.9823, allocations: 19.36 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.9823, allocations: 0 / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001211/0.9824, allocations: 48.08 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.9824, allocations: 5.562 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.9824, allocations: 3.938 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.9824, allocations: 2.094 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/0.9825, allocations: 7.562 kB / 1.274 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.9825, allocations: 0.9375 kB / 1.274 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/0.9825, allocations: 10.64 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.9825, allocations: 0 / 1.274 GB, free: 5.648 MB / 0.9981 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 4.142e-05/0.9826, allocations: 109.7 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-06/0.9826, allocations: 0.5625 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.9826, allocations: 8.25 kB / 1.274 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.9826, allocations: 0.8438 kB / 1.274 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9826, allocations: 0.5156 kB / 1.274 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.9826, allocations: 0.7812 kB / 1.274 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.354e-05/0.9827, allocations: 152.5 kB / 1.274 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.9827, allocations: 5.297 kB / 1.274 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.9827, allocations: 3.547 kB / 1.274 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.9827, allocations: 1.141 kB / 1.274 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.9827, allocations: 5.266 kB / 1.274 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.9827, allocations: 0.7812 kB / 1.274 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.9827, allocations: 0 / 1.274 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.9829, allocations: 65.02 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.9829, allocations: 82.5 kB / 1.274 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.9829, allocations: 5.469 kB / 1.274 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.288e-05/0.9829, allocations: 6.094 kB / 1.274 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-06/0.9829, allocations: 4.844 kB / 1.274 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.9829, allocations: 5.594 kB / 1.274 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.072e-05/0.983, allocations: 75.28 kB / 1.274 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.983, allocations: 0 / 1.274 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001864/0.9831, allocations: 1.531 kB / 1.274 GB, free: 5.07 MB / 0.9981 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.0002845/0.9834, allocations: 0.6084 MB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.9836, allocations: 12.36 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9836, allocations: 8.031 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.222e-05/0.9836, allocations: 6.531 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.9838, allocations: 5.891 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.9841, allocations: 132.3 kB / 1.275 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.63e-05/0.9842, allocations: 0.6704 MB / 1.276 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.92e-05/0.9842, allocations: 6.516 kB / 1.276 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.9842, allocations: 8.812 kB / 1.276 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/0.9842, allocations: 0 / 1.276 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/1.009, allocations: 0.9291 MB / 1.277 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.226/9.236, allocations: 13.53 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.26779326700489] Failed to read output from testmodel.py, exit status != 0: 9.306252457987284 9.330857865 8.345605231 Calling exit ...