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.001648/0.001648, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.00156/0.00156, allocations: 221.8 kB / 23 MB, free: 5.07 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.005/1.005, allocations: 150 MB / 463.2 MB, free: 10.5 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.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.002078/0.002078, allocations: 62.09 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1808, allocations: 89.18 MB / 0.7284 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001831/0.1826, allocations: 0.5954 MB / 0.729 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003102/0.1829, allocations: 95.66 kB / 0.7291 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.183, allocations: 4 kB / 0.7291 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.183, allocations: 0 / 0.7291 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.725e-05/0.183, allocations: 0 / 0.7291 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.1832, allocations: 19.86 kB / 0.7291 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.295e-05/0.1833, allocations: 8 kB / 0.7291 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.1833, allocations: 0 / 0.7291 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.986e-05/0.1834, allocations: 15.97 kB / 0.7291 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.327e-05/0.1834, allocations: 4 kB / 0.7291 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1834, allocations: 0 / 0.7291 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.967e-05/0.1835, allocations: 15.98 kB / 0.7291 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.1835, allocations: 0 / 0.7291 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.1835, allocations: 3.938 kB / 0.7291 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.65e-05/0.1836, allocations: 16.25 kB / 0.7291 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1836, allocations: 0 / 0.7291 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.123e-06/0.1836, allocations: 4 kB / 0.7291 GB, free: 500 kB / 0.545 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.1836, allocations: 0 / 0.7291 GB, free: 500 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.0003573/0.184, allocations: 246.4 kB / 0.7294 GB, free: 220 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.184, allocations: 12.03 kB / 0.7294 GB, free: 208 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.1841, allocations: 34.69 kB / 0.7294 GB, free: 164 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.1842, allocations: 8.922 kB / 0.7294 GB, free: 156 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.676e-05/0.1843, allocations: 102.5 kB / 0.7295 GB, free: 28 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.1843, allocations: 4.375 kB / 0.7295 GB, free: 24 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.1843, allocations: 384 / 0.7295 GB, free: 24 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.1845, allocations: 42.23 kB / 0.7296 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1845, allocations: 7.938 kB / 0.7296 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.1845, allocations: 0 / 0.7296 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1845, allocations: 7.938 kB / 0.7296 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.739e-05/0.1846, allocations: 7.984 kB / 0.7296 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.1847, allocations: 124.7 kB / 0.7297 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1849, allocations: 46.59 kB / 0.7298 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.185, allocations: 16.86 kB / 0.7298 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.185, allocations: 0 / 0.7298 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.185, allocations: 34.55 kB / 0.7298 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.185, allocations: 0 / 0.7298 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002118/0.1852, allocations: 61.52 kB / 0.7299 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1853, allocations: 55.41 kB / 0.7299 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.301e-05/0.1853, allocations: 97.84 kB / 0.73 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1853, allocations: 25.7 kB / 0.73 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.1854, allocations: 80.14 kB / 0.7301 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.1854, allocations: 7.953 kB / 0.7301 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.1854, allocations: 13.72 kB / 0.7301 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1856, allocations: 314.8 kB / 0.7304 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.1856, allocations: 11.98 kB / 0.7304 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.1856, allocations: 4 kB / 0.7305 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.206e-05/0.1857, allocations: 29.11 kB / 0.7305 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1857, allocations: 3.938 kB / 0.7305 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001153/0.1858, allocations: 49.62 kB / 0.7305 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1859, allocations: 7.984 kB / 0.7305 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1859, allocations: 3.938 kB / 0.7305 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1859, allocations: 4 kB / 0.7305 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.1863, allocations: 43.94 kB / 0.7306 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.1877, allocations: 1.301 MB / 0.7319 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.1878, allocations: 0 / 0.7319 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.1878, allocations: 4.094 kB / 0.7319 GB, free: 13.39 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.0001/0.1879, allocations: 109.8 kB / 0.732 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.1879, allocations: 4 kB / 0.732 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.413e-05/0.1879, allocations: 7.531 kB / 0.732 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1879, allocations: 0 / 0.732 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.1879, allocations: 0 / 0.732 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1879, allocations: 0 / 0.732 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.188, allocations: 124.7 kB / 0.7321 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.188, allocations: 0 / 0.7321 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.1884, allocations: 55.86 kB / 0.7322 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1884, allocations: 0 / 0.7322 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1884, allocations: 4 kB / 0.7322 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.1897, allocations: 1.309 MB / 0.7334 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1897, allocations: 3.984 kB / 0.7334 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.1898, allocations: 69.16 kB / 0.7335 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-06/0.1898, allocations: 3.953 kB / 0.7335 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.1899, allocations: 12.02 kB / 0.7335 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.205e-05/0.1899, allocations: 8 kB / 0.7335 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.1899, allocations: 3.938 kB / 0.7335 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1899, allocations: 0 / 0.7335 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.463e-05/0.1899, allocations: 75.28 kB / 0.7336 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1899, allocations: 0 / 0.7336 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001959/0.1901, allocations: 4 kB / 0.7336 GB, free: 11.42 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.0004849/0.1906, allocations: 0.6124 MB / 0.7342 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004753/0.1911, allocations: 67.84 kB / 0.7343 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1911, allocations: 0 / 0.7343 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.1913, allocations: 35.95 kB / 0.7343 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.1915, allocations: 2.234 kB / 0.7343 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.192, allocations: 130.5 kB / 0.7344 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.1923, allocations: 0.6768 MB / 0.7351 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.127e-05/0.1923, allocations: 4 kB / 0.7351 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.1924, allocations: 11.44 kB / 0.7351 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.1924, allocations: 0 / 0.7351 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.2197, allocations: 1.321 MB / 0.7364 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.65, allocations: 15.95 kB / 0.7364 GB, free: 8.598 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.637354815000435] Failed to read output from testmodel.py, exit status != 0: 12.76242061299854 12.788158595 12.59952965 Calling exit ...