Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001502/0.001502, allocations: 109 kB / 17.12 MB, free: 5.926 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.001808/0.001808, allocations: 205 kB / 20.09 MB, free: 2.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.521/1.521, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 0.9837/0.9837, allocations: 150 MB / 459.5 MB, free: 5.234 MB / 350.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.002232/0.002232, allocations: 76.33 kB / 0.6362 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1843, allocations: 89.13 MB / 0.7232 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001794/0.1861, allocations: 0.6126 MB / 0.7238 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007092/0.1868, allocations: 355.1 kB / 0.7242 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.1869, allocations: 4 kB / 0.7242 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.1869, allocations: 3.938 kB / 0.7242 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.788e-05/0.1869, allocations: 0 / 0.7242 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.1874, allocations: 115.6 kB / 0.7243 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.866e-05/0.1874, allocations: 19.92 kB / 0.7243 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.1875, allocations: 11.98 kB / 0.7243 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.1875, allocations: 7.984 kB / 0.7243 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.337e-05/0.1876, allocations: 15.92 kB / 0.7243 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1876, allocations: 8 kB / 0.7243 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.188, allocations: 275.7 kB / 0.7246 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.188, allocations: 3.984 kB / 0.7246 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.188, allocations: 23.8 kB / 0.7246 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.1882, allocations: 96 kB / 0.7247 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1882, allocations: 3.938 kB / 0.7247 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1882, allocations: 0 / 0.7247 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.1882, allocations: 0 / 0.7247 GB, free: 2.52 MB / 0.5294 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.000472/0.1887, allocations: 367.1 kB / 0.7251 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1887, allocations: 12.03 kB / 0.7251 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.1888, allocations: 34.73 kB / 0.7251 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.1888, allocations: 4.938 kB / 0.7251 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.189, allocations: 176.3 kB / 0.7253 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.189, allocations: 4.375 kB / 0.7253 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.189, allocations: 4.375 kB / 0.7253 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.1891, allocations: 50.23 kB / 0.7253 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1891, allocations: 11.92 kB / 0.7253 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1891, allocations: 0 / 0.7253 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1891, allocations: 0 / 0.7253 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.383e-05/0.1892, allocations: 23.98 kB / 0.7254 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.1894, allocations: 165.7 kB / 0.7255 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.1895, allocations: 58.5 kB / 0.7256 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.668e-05/0.1895, allocations: 24.84 kB / 0.7256 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007394/0.1903, allocations: 457.5 kB / 0.726 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1903, allocations: 34.56 kB / 0.7261 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1903, allocations: 0 / 0.7261 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001366/0.1917, allocations: 0.5906 MB / 0.7267 GB, free: 176 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.1917, allocations: 59.39 kB / 0.7267 GB, free: 104 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.533e-05/0.1918, allocations: 93.86 kB / 0.7268 GB, free: 0 / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.1918, allocations: 29.7 kB / 0.7268 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.1919, allocations: 84.08 kB / 0.7269 GB, free: 15.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.1919, allocations: 39.69 kB / 0.7269 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.192, allocations: 37.66 kB / 0.727 GB, free: 15.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.1921, allocations: 310.8 kB / 0.7273 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.883e-05/0.1921, allocations: 24.08 kB / 0.7273 GB, free: 15.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.702e-05/0.1922, allocations: 22.69 kB / 0.7273 GB, free: 15.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1923, allocations: 60.84 kB / 0.7274 GB, free: 15.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1923, allocations: 0 / 0.7274 GB, free: 15.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001706/0.1925, allocations: 101.6 kB / 0.7275 GB, free: 15.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1925, allocations: 7.938 kB / 0.7275 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.1925, allocations: 0 / 0.7275 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1925, allocations: 8 kB / 0.7275 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1926, allocations: 23.92 kB / 0.7275 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1926, allocations: 3.984 kB / 0.7275 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.1926, allocations: 0 / 0.7275 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.1926, allocations: 8 kB / 0.7275 GB, free: 15.22 MB / 0.545 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 9.046e-05/0.1927, allocations: 113.8 kB / 0.7276 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.1928, allocations: 11.89 kB / 0.7276 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.193, allocations: 101.8 kB / 0.7277 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.193, allocations: 0 / 0.7277 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.193, allocations: 11.98 kB / 0.7278 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.193, allocations: 0 / 0.7278 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.1934, allocations: 354.5 kB / 0.7281 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1934, allocations: 0 / 0.7281 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.1935, allocations: 27.92 kB / 0.7281 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1935, allocations: 0 / 0.7281 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.1935, allocations: 0 / 0.7281 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1935, allocations: 0 / 0.7281 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1935, allocations: 4 kB / 0.7281 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.1938, allocations: 225.7 kB / 0.7283 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.1939, allocations: 93.08 kB / 0.7284 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.1939, allocations: 0 / 0.7284 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.194, allocations: 4 kB / 0.7284 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.194, allocations: 11.98 kB / 0.7284 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.194, allocations: 3.938 kB / 0.7284 GB, free: 14.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.1941, allocations: 79.28 kB / 0.7285 GB, free: 14.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1941, allocations: 0 / 0.7285 GB, free: 14.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002832/0.1943, allocations: 47.94 kB / 0.7286 GB, free: 14.05 MB / 0.545 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.0007543/0.1951, allocations: 0.7896 MB / 0.7293 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.1952, allocations: 59.91 kB / 0.7294 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1952, allocations: 3.938 kB / 0.7294 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.349e-05/0.1953, allocations: 27.94 kB / 0.7294 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.1955, allocations: 18.48 kB / 0.7294 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.197, allocations: 1.401 MB / 0.7308 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.1974, allocations: 0.6846 MB / 0.7315 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.845e-05/0.1974, allocations: 11.98 kB / 0.7315 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.1975, allocations: 23.44 kB / 0.7315 GB, free: 10.91 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.1975, allocations: 4 kB / 0.7315 GB, free: 10.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.231, allocations: 2.496 MB / 0.734 GB, free: 8.566 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.298, allocations: 15.94 kB / 0.734 GB, free: 8.551 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.24206946999766] Failed to read output from testmodel.py, exit status != 0: 8.366301167057827 8.381749208 8.190652981 Calling exit ...