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.001325/0.001325, allocations: 119 kB / 19.69 MB, free: 2.199 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.001404/0.001404, allocations: 224.5 kB / 23.01 MB, free: 5.047 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8 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.9883/0.9883, allocations: 150 MB / 463.2 MB, free: 10.52 MB / 366.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.00202/0.00202, allocations: 70.55 kB / 0.6413 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1814, allocations: 89.17 MB / 0.7284 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001802/0.1832, allocations: 0.6195 MB / 0.729 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007317/0.184, allocations: 358.7 kB / 0.7293 GB, free: 320 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.184, allocations: 4 kB / 0.7293 GB, free: 316 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.184, allocations: 7.875 kB / 0.7294 GB, free: 308 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.642e-05/0.184, allocations: 0 / 0.7294 GB, free: 308 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.1845, allocations: 119.4 kB / 0.7295 GB, free: 192 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.973e-05/0.1846, allocations: 19.98 kB / 0.7295 GB, free: 172 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.1846, allocations: 11.97 kB / 0.7295 GB, free: 160 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.887e-05/0.1846, allocations: 11.94 kB / 0.7295 GB, free: 148 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.965e-05/0.1847, allocations: 15.92 kB / 0.7295 GB, free: 132 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1847, allocations: 4 kB / 0.7295 GB, free: 128 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004255/0.1851, allocations: 275.7 kB / 0.7298 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.1852, allocations: 7.984 kB / 0.7298 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.1852, allocations: 15.92 kB / 0.7298 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1854, allocations: 99.94 kB / 0.7299 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1854, allocations: 0 / 0.7299 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1854, allocations: 0 / 0.7299 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.1854, allocations: 0 / 0.7299 GB, free: 15.73 MB / 0.5606 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.0004641/0.1858, allocations: 294 kB / 0.7302 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1859, allocations: 15.97 kB / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.1859, allocations: 38.69 kB / 0.7302 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.186, allocations: 4.938 kB / 0.7302 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1861, allocations: 110.5 kB / 0.7304 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1861, allocations: 384 / 0.7304 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.1862, allocations: 12.36 kB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1863, allocations: 46.25 kB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1863, allocations: 7.922 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1863, allocations: 0 / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1863, allocations: 0 / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.222e-05/0.1864, allocations: 23.98 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.1865, allocations: 136.7 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1867, allocations: 54.56 kB / 0.7306 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.1867, allocations: 32.84 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005465/0.1873, allocations: 75.91 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.1873, allocations: 38.56 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1873, allocations: 0 / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001275/0.1886, allocations: 455.7 kB / 0.7312 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.1886, allocations: 51.41 kB / 0.7312 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.966e-05/0.1887, allocations: 101.8 kB / 0.7313 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1887, allocations: 25.7 kB / 0.7314 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.1887, allocations: 84.14 kB / 0.7314 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.1888, allocations: 39.69 kB / 0.7315 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.1888, allocations: 33.7 kB / 0.7315 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.189, allocations: 310.8 kB / 0.7318 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.702e-05/0.189, allocations: 23.98 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.959e-05/0.1891, allocations: 23.98 kB / 0.7319 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1892, allocations: 56.86 kB / 0.7319 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.1892, allocations: 0 / 0.7319 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001578/0.1893, allocations: 93.58 kB / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1893, allocations: 4 kB / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1893, allocations: 7.984 kB / 0.732 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1894, allocations: 4 kB / 0.732 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1895, allocations: 23.94 kB / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1895, allocations: 0 / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.592e-05/0.1895, allocations: 4 kB / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.1895, allocations: 0 / 0.732 GB, free: 13.3 MB / 0.5606 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.616e-05/0.1896, allocations: 125.8 kB / 0.7322 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.1896, allocations: 15.89 kB / 0.7322 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.1898, allocations: 101.7 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1898, allocations: 4.188 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1898, allocations: 4 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.1899, allocations: 7.969 kB / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004206/0.1903, allocations: 323.4 kB / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1903, allocations: 0 / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.1904, allocations: 27.92 kB / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1904, allocations: 0 / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1904, allocations: 4 kB / 0.7326 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1904, allocations: 0 / 0.7326 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1904, allocations: 0 / 0.7326 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.1907, allocations: 219.4 kB / 0.7328 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.1907, allocations: 15.91 kB / 0.7329 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.1907, allocations: 8.094 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.1908, allocations: 3.938 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.1908, allocations: 11.92 kB / 0.7329 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.1908, allocations: 8 kB / 0.7329 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.1909, allocations: 75.28 kB / 0.733 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1909, allocations: 0 / 0.733 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002857/0.1912, allocations: 55.92 kB / 0.733 GB, free: 12.23 MB / 0.5606 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.0007075/0.1919, allocations: 0.7744 MB / 0.7338 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001597/0.192, allocations: 66.09 kB / 0.7338 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.192, allocations: 0 / 0.7338 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.839e-05/0.1921, allocations: 31.98 kB / 0.7339 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.1923, allocations: 12 kB / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.1937, allocations: 1.399 MB / 0.7352 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.194, allocations: 0.6846 MB / 0.7359 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.372e-05/0.1941, allocations: 8 kB / 0.7359 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.1941, allocations: 19.42 kB / 0.7359 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.1941, allocations: 4 kB / 0.7359 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.2233, allocations: 2.638 MB / 0.7385 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.23, allocations: 6.875 kB / 0.7385 GB, free: 6.629 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.064895056999376] Failed to read output from testmodel.py, exit status != 0: 11.342198221998842 11.365315364 11.175680423 Calling exit ...