Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001379/0.001379, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001579/0.001579, allocations: 211.2 kB / 22.25 MB, free: 5.258 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.917/2.917, allocations: 476 MB / 0.7699 GB, free: 4.711 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002159/0.002159, allocations: 69.03 kB / 1.117 GB, free: 40.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3796, allocations: 170 MB / 1.283 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002335/0.382, allocations: 0.6294 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008576/0.3828, allocations: 318.9 kB / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.3829, allocations: 0 / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.29e-05/0.3829, allocations: 3.938 kB / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.124e-05/0.3829, allocations: 7.938 kB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.3835, allocations: 127.9 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.005e-05/0.3836, allocations: 19.92 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.393e-05/0.3836, allocations: 4 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.151e-05/0.3837, allocations: 15.92 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/0.3837, allocations: 7.984 kB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.3838, allocations: 4 kB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004423/0.3842, allocations: 263.6 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.3842, allocations: 3.938 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.3843, allocations: 11.94 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.3845, allocations: 103.2 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3845, allocations: 0 / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.798e-06/0.3845, allocations: 3.984 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.3845, allocations: 0 / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004987/0.385, allocations: 286 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.385, allocations: 12.03 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.3851, allocations: 38.73 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.3851, allocations: 8.938 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3853, allocations: 102.5 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.3853, allocations: 4.375 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.3853, allocations: 12.33 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.3855, allocations: 97.59 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3855, allocations: 3.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3855, allocations: 7.984 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3855, allocations: 0 / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.28e-05/0.3856, allocations: 12 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002044/0.3858, allocations: 136.8 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.3859, allocations: 58.58 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.879e-05/0.386, allocations: 33 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005879/0.3866, allocations: 79.89 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3866, allocations: 38.56 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.3866, allocations: 4 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001343/0.3879, allocations: 447.5 kB / 1.285 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.388, allocations: 55.41 kB / 1.285 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.3881, allocations: 101.8 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.3881, allocations: 25.7 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.3881, allocations: 88.12 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.3882, allocations: 35.69 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.947e-05/0.3883, allocations: 33.7 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3885, allocations: 314.8 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-05/0.3885, allocations: 23.98 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.525e-05/0.3886, allocations: 19.98 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.3887, allocations: 60.73 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3887, allocations: 0 / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002102/0.3889, allocations: 103.8 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3889, allocations: 4.094 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3889, allocations: 7.922 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.3889, allocations: 0 / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3891, allocations: 24 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.3891, allocations: 4 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.539e-05/0.3891, allocations: 0 / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.3891, allocations: 11.94 kB / 1.286 GB, free: 8.25 MB / 0.9825 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 (13): * Single equations (assignments): 13 * 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 0.0001256/0.3892, allocations: 117.8 kB / 1.286 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.3893, allocations: 11.89 kB / 1.286 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.3895, allocations: 97.73 kB / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3895, allocations: 0 / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3895, allocations: 0 / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.3895, allocations: 7.984 kB / 1.286 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.3901, allocations: 313.5 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3901, allocations: 4 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.3902, allocations: 27.98 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3902, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3902, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3902, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3902, allocations: 7.938 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.3906, allocations: 223.6 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.3906, allocations: 8.016 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.3907, allocations: 8 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.3908, allocations: 0 / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.3908, allocations: 7.984 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.3908, allocations: 12.06 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.814e-05/0.3909, allocations: 75.28 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3909, allocations: 0 / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000327/0.3912, allocations: 51.86 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0007984/0.392, allocations: 0.7903 MB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001641/0.3921, allocations: 59.91 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.3922, allocations: 3.938 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/0.3922, allocations: 27.98 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.3924, allocations: 8.062 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.394, allocations: 1.403 MB / 1.289 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.259e-05/0.3941, allocations: 71.33 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.896e-05/0.3941, allocations: 8 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.3942, allocations: 19.42 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.3942, allocations: 0 / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/0.4294, allocations: 2.997 MB / 1.292 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12, allocations: 0.75 kB / 1.292 GB, free: 1.859 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.84224712708965] Failed to read output from testmodel.py, exit status != 0: 12.677090077195317 12.146319463 11.75601565 Calling exit ...