Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.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.001823/0.001823, 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.001967/0.001967, allocations: 215.5 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.08/1.08, allocations: 149.9 MB / 463.1 MB, free: 10.29 MB / 366.1 MB " [Timeout remaining time 178] 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.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",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.002238/0.002238, allocations: 65.69 kB / 0.6411 GB, free: 10.05 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1848, allocations: 89.17 MB / 0.7282 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001979/0.1868, allocations: 0.5877 MB / 0.7288 GB, free: 368 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003583/0.1871, allocations: 79.77 kB / 0.7288 GB, free: 288 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.821e-05/0.1872, allocations: 3.938 kB / 0.7289 GB, free: 284 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.1872, allocations: 3.938 kB / 0.7289 GB, free: 280 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.351e-05/0.1872, allocations: 0 / 0.7289 GB, free: 280 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.1875, allocations: 27.91 kB / 0.7289 GB, free: 252 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.094e-05/0.1876, allocations: 11.98 kB / 0.7289 GB, free: 240 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.1876, allocations: 0 / 0.7289 GB, free: 240 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.518e-05/0.1876, allocations: 4 kB / 0.7289 GB, free: 236 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.422e-05/0.1877, allocations: 4 kB / 0.7289 GB, free: 232 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1877, allocations: 0 / 0.7289 GB, free: 232 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.28e-05/0.1878, allocations: 11.98 kB / 0.7289 GB, free: 220 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.1878, allocations: 4 kB / 0.7289 GB, free: 216 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.1878, allocations: 11.92 kB / 0.7289 GB, free: 204 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.188, allocations: 11.97 kB / 0.7289 GB, free: 192 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.188, allocations: 0 / 0.7289 GB, free: 192 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.094e-06/0.188, allocations: 0 / 0.7289 GB, free: 192 kB / 0.545 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.188, allocations: 0 / 0.7289 GB, free: 192 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004296/0.1884, allocations: 245.3 kB / 0.7292 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.1885, allocations: 16.03 kB / 0.7292 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.1885, allocations: 34.73 kB / 0.7292 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.1887, allocations: 12.92 kB / 0.7292 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1888, allocations: 110.5 kB / 0.7293 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.1888, allocations: 384 / 0.7293 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.1888, allocations: 4.375 kB / 0.7293 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1889, allocations: 38.19 kB / 0.7294 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1889, allocations: 3.938 kB / 0.7294 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.189, allocations: 0 / 0.7294 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.189, allocations: 4 kB / 0.7294 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/0.1891, allocations: 15.98 kB / 0.7294 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.1892, allocations: 124.8 kB / 0.7295 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.1894, allocations: 38.62 kB / 0.7296 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.1895, allocations: 12.84 kB / 0.7296 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1895, allocations: 4 kB / 0.7296 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1895, allocations: 38.44 kB / 0.7296 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1895, allocations: 0 / 0.7296 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002297/0.1898, allocations: 65.56 kB / 0.7297 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.1898, allocations: 51.41 kB / 0.7297 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.561e-05/0.1899, allocations: 89.86 kB / 0.7298 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.1899, allocations: 29.7 kB / 0.7298 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.1899, allocations: 80.14 kB / 0.7299 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.19, allocations: 11.89 kB / 0.7299 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.19, allocations: 13.72 kB / 0.7299 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1901, allocations: 310.8 kB / 0.7302 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.69e-05/0.1902, allocations: 15.92 kB / 0.7302 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.181e-05/0.1902, allocations: 11.94 kB / 0.7303 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.226e-05/0.1903, allocations: 20.84 kB / 0.7303 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1903, allocations: 0 / 0.7303 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001213/0.1904, allocations: 53.67 kB / 0.7303 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1904, allocations: 4 kB / 0.7303 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.1905, allocations: 3.938 kB / 0.7303 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1905, allocations: 0 / 0.7303 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.1909, allocations: 43.94 kB / 0.7304 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.1924, allocations: 1.305 MB / 0.7317 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/0.1924, allocations: 0 / 0.7317 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1924, allocations: 0 / 0.7317 GB, free: 13.1 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.1926, allocations: 117.8 kB / 0.7318 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.1926, allocations: 0 / 0.7318 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.403e-05/0.1926, allocations: 3.531 kB / 0.7318 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1926, allocations: 0 / 0.7318 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1926, allocations: 0 / 0.7318 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1926, allocations: 4.094 kB / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.1927, allocations: 128.7 kB / 0.7319 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1927, allocations: 4 kB / 0.7319 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.1931, allocations: 51.86 kB / 0.732 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1931, allocations: 0 / 0.732 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.1931, allocations: 8 kB / 0.732 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.1945, allocations: 1.294 MB / 0.7332 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1945, allocations: 0 / 0.7332 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.1947, allocations: 81.08 kB / 0.7333 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-06/0.1947, allocations: 7.891 kB / 0.7333 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.1947, allocations: 7.938 kB / 0.7333 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.574e-05/0.1947, allocations: 0 / 0.7333 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.1947, allocations: 3.984 kB / 0.7333 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1947, allocations: 0 / 0.7333 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.005e-05/0.1948, allocations: 79.28 kB / 0.7334 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1948, allocations: 0 / 0.7334 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001975/0.195, allocations: 64 / 0.7334 GB, free: 11.13 MB / 0.5606 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005702/0.1955, allocations: 0.6234 MB / 0.734 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004717/0.196, allocations: 55.92 kB / 0.7341 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.196, allocations: 4 kB / 0.7341 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.1963, allocations: 43.94 kB / 0.7341 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.1964, allocations: 2.656 kB / 0.7341 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.1969, allocations: 134.4 kB / 0.7342 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.858e-05/0.197, allocations: 55.36 kB / 0.7343 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.393e-05/0.197, allocations: 8 kB / 0.7343 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.197, allocations: 11.42 kB / 0.7343 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of SimCode: time 6.22e-07/0.197, allocations: 0 / 0.7343 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.2295, allocations: 1.754 MB / 0.736 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/12.82, allocations: 4.062 kB / 0.736 GB, free: 8.488 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.916504149790853] Failed to read output from testmodel.py, exit status != 0: 12.931192296557128 12.9481886 12.756835617 Calling exit ...