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.00168/0.00168, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001691/0.001691, allocations: 217 kB / 22.99 MB, free: 4.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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 1.004/1.004, allocations: 149.9 MB / 463 MB, free: 10.32 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.002131/0.002131, allocations: 67.78 kB / 0.6411 GB, free: 10.04 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1858, allocations: 89.18 MB / 0.7282 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001926/0.1877, allocations: 0.624 MB / 0.7288 GB, free: 324 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007029/0.1884, allocations: 314.9 kB / 0.7291 GB, free: 8 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.1885, allocations: 0 / 0.7291 GB, free: 8 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.1885, allocations: 0 / 0.7291 GB, free: 8 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.408e-05/0.1885, allocations: 7.938 kB / 0.7291 GB, free: 0 / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.189, allocations: 111.8 kB / 0.7292 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.052e-05/0.1891, allocations: 23.97 kB / 0.7292 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.1891, allocations: 7.828 kB / 0.7293 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.807e-05/0.1891, allocations: 7.984 kB / 0.7293 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.175e-05/0.1892, allocations: 19.86 kB / 0.7293 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1892, allocations: 4 kB / 0.7293 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004014/0.1896, allocations: 255.7 kB / 0.7295 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.1896, allocations: 7.984 kB / 0.7295 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.1896, allocations: 11.92 kB / 0.7295 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.1898, allocations: 107.9 kB / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1898, allocations: 0 / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.997e-06/0.1898, allocations: 4 kB / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1898, allocations: 0 / 0.7297 GB, free: 15.45 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.0004101/0.1903, allocations: 286 kB / 0.7299 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1903, allocations: 12.03 kB / 0.7299 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.1903, allocations: 30.75 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.1904, allocations: 4.938 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1905, allocations: 110.5 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1905, allocations: 16.31 kB / 0.7301 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.1905, allocations: 8.312 kB / 0.7301 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.1907, allocations: 101.6 kB / 0.7302 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1907, allocations: 11.88 kB / 0.7302 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1907, allocations: 4 kB / 0.7302 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1907, allocations: 0 / 0.7302 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.484e-05/0.1908, allocations: 19.98 kB / 0.7302 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.1909, allocations: 132.8 kB / 0.7304 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1911, allocations: 50.56 kB / 0.7304 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.1911, allocations: 28.84 kB / 0.7304 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005097/0.1916, allocations: 75.92 kB / 0.7305 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1917, allocations: 38.5 kB / 0.7305 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1917, allocations: 0 / 0.7305 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001238/0.1929, allocations: 459.5 kB / 0.731 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1929, allocations: 55.41 kB / 0.731 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.462e-05/0.193, allocations: 97.84 kB / 0.7311 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.193, allocations: 29.7 kB / 0.7312 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.1931, allocations: 80.14 kB / 0.7312 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.1931, allocations: 35.69 kB / 0.7313 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.1932, allocations: 25.72 kB / 0.7313 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1933, allocations: 322.8 kB / 0.7316 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.405e-05/0.1933, allocations: 19.98 kB / 0.7316 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.774e-05/0.1934, allocations: 16 kB / 0.7316 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.1935, allocations: 67.84 kB / 0.7317 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1935, allocations: 0 / 0.7317 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001735/0.1937, allocations: 109.5 kB / 0.7318 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1937, allocations: 6.031 kB / 0.7318 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1937, allocations: 0 / 0.7318 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1937, allocations: 0 / 0.7318 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1938, allocations: 23.98 kB / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1938, allocations: 0 / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.1938, allocations: 0 / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1938, allocations: 8.094 kB / 0.7318 GB, free: 12.96 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.739e-05/0.1939, allocations: 125.7 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.194, allocations: 11.89 kB / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.1942, allocations: 101.7 kB / 0.7321 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1942, allocations: 0 / 0.7321 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1942, allocations: 4 kB / 0.7321 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1942, allocations: 0 / 0.7321 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.1946, allocations: 325.5 kB / 0.7324 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1946, allocations: 4 kB / 0.7324 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.1947, allocations: 19.98 kB / 0.7324 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1947, allocations: 0 / 0.7324 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1947, allocations: 0 / 0.7324 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1948, allocations: 8 kB / 0.7324 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1948, allocations: 0 / 0.7324 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.195, allocations: 222.3 kB / 0.7326 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.1951, allocations: 15.97 kB / 0.7326 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.1951, allocations: 0 / 0.7326 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.1952, allocations: 3.984 kB / 0.7326 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.1952, allocations: 11.94 kB / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1952, allocations: 7.984 kB / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.1952, allocations: 75.47 kB / 0.7327 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1952, allocations: 4 kB / 0.7327 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002808/0.1955, allocations: 47.94 kB / 0.7328 GB, free: 11.91 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.0006964/0.1962, allocations: 0.7867 MB / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.1964, allocations: 59.91 kB / 0.7336 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.1964, allocations: 0 / 0.7336 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.218e-05/0.1964, allocations: 27.94 kB / 0.7336 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.1967, allocations: 8.75 kB / 0.7336 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.1981, allocations: 1.401 MB / 0.735 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.109e-05/0.1982, allocations: 72.41 kB / 0.7351 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.967e-05/0.1983, allocations: 19.92 kB / 0.7351 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.1983, allocations: 19.44 kB / 0.7351 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.1983, allocations: 0 / 0.7351 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.2298, allocations: 2.981 MB / 0.738 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.34, allocations: 0 / 0.738 GB, free: 6.582 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 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 os._exit(0), Time elapsed: 15.3474858161062] Failed to read output from testmodel.py, exit status != 0: 11.445481478236616 11.475957364 11.279933552 Calling exit ...