Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001918/0.001918, allocations: 103.8 kB / 16.45 MB, free: 6.449 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.00151/0.00151, allocations: 212 kB / 19.43 MB, free: 3.637 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.427/1.427, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002512/0.002512, allocations: 293.8 kB / 309.1 MB, free: 3.984 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.295/1.295, allocations: 180.9 MB / 0.5333 GB, free: 13.79 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002763/0.002763, allocations: 112 kB / 0.7343 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1841, allocations: 95.35 MB / 0.8274 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001864/0.186, allocations: 0.5982 MB / 0.828 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003227/0.1863, allocations: 95.72 kB / 0.8281 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.1864, allocations: 3.938 kB / 0.8281 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.1864, allocations: 0 / 0.8281 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.686e-05/0.1864, allocations: 4 kB / 0.8281 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.1867, allocations: 15.92 kB / 0.8281 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.245e-05/0.1867, allocations: 4 kB / 0.8281 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.1867, allocations: 3.984 kB / 0.8281 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.924e-05/0.1868, allocations: 8 kB / 0.8281 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.1868, allocations: 3.984 kB / 0.8281 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.1869, allocations: 4 kB / 0.8281 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.395e-05/0.1869, allocations: 11.98 kB / 0.8281 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.1869, allocations: 4 kB / 0.8281 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.187, allocations: 3.938 kB / 0.8281 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.492e-05/0.187, allocations: 12.27 kB / 0.8282 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.187, allocations: 0 / 0.8282 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.187, allocations: 0 / 0.8282 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.1871, allocations: 0 / 0.8282 GB, free: 9.07 MB / 0.5762 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.0004002/0.1875, allocations: 327.5 kB / 0.8285 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1875, allocations: 8.031 kB / 0.8285 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.1875, allocations: 34.75 kB / 0.8285 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.1877, allocations: 8.922 kB / 0.8285 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.1878, allocations: 164.4 kB / 0.8287 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.1878, allocations: 384 / 0.8287 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.1878, allocations: 384 / 0.8287 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.188, allocations: 46.59 kB / 0.8287 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.188, allocations: 7.938 kB / 0.8287 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.188, allocations: 0 / 0.8287 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.188, allocations: 0 / 0.8287 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.069e-05/0.1881, allocations: 15.92 kB / 0.8287 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.1882, allocations: 161.6 kB / 0.8289 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.1884, allocations: 34.56 kB / 0.8289 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.1885, allocations: 20.91 kB / 0.829 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.1885, allocations: 0 / 0.829 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1885, allocations: 34.5 kB / 0.829 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.1885, allocations: 0 / 0.829 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002063/0.1887, allocations: 57.61 kB / 0.829 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.1888, allocations: 59.41 kB / 0.8291 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.578e-05/0.1888, allocations: 93.86 kB / 0.8292 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1888, allocations: 25.7 kB / 0.8292 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.1889, allocations: 80.14 kB / 0.8293 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.1889, allocations: 11.89 kB / 0.8293 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.1889, allocations: 21.72 kB / 0.8293 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1891, allocations: 314.8 kB / 0.8296 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.762e-05/0.1891, allocations: 4 kB / 0.8296 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.1891, allocations: 11.92 kB / 0.8296 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.175e-05/0.1892, allocations: 21.14 kB / 0.8297 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1892, allocations: 0 / 0.8297 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001192/0.1893, allocations: 53.66 kB / 0.8297 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1894, allocations: 8 kB / 0.8297 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1894, allocations: 3.938 kB / 0.8297 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1894, allocations: 0 / 0.8297 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.1898, allocations: 43.94 kB / 0.8298 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.1912, allocations: 1.405 MB / 0.8311 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.1913, allocations: 0 / 0.8311 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.1913, allocations: 96 / 0.8311 GB, free: 5.656 MB / 0.5762 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 9.469e-05/0.1914, allocations: 121.8 kB / 0.8312 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-06/0.1914, allocations: 0 / 0.8312 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.1914, allocations: 11.5 kB / 0.8313 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1914, allocations: 0 / 0.8313 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.42e-07/0.1914, allocations: 0 / 0.8313 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1914, allocations: 0 / 0.8313 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.1915, allocations: 153.6 kB / 0.8314 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1915, allocations: 0 / 0.8314 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.1919, allocations: 51.88 kB / 0.8315 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1919, allocations: 0 / 0.8315 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1919, allocations: 3.938 kB / 0.8315 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.1932, allocations: 1.404 MB / 0.8328 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1932, allocations: 0 / 0.8328 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.1933, allocations: 85.11 kB / 0.8329 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.1934, allocations: 77.11 kB / 0.833 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-06/0.1934, allocations: 7.875 kB / 0.833 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.526e-05/0.1934, allocations: 4.062 kB / 0.833 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.1934, allocations: 7.984 kB / 0.833 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.1934, allocations: 0 / 0.833 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.283e-05/0.1935, allocations: 75.28 kB / 0.8331 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1935, allocations: 0 / 0.8331 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001878/0.1936, allocations: 8 kB / 0.8331 GB, free: 3.418 MB / 0.5762 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.000451/0.1941, allocations: 0.6163 MB / 0.8337 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004685/0.1946, allocations: 51.92 kB / 0.8337 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1946, allocations: 4 kB / 0.8337 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.1948, allocations: 39.95 kB / 0.8338 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.1949, allocations: 0 / 0.8338 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.1954, allocations: 122.6 kB / 0.8339 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.1957, allocations: 0.6768 MB / 0.8346 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.1957, allocations: 11.95 kB / 0.8346 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.1957, allocations: 7.438 kB / 0.8346 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1957, allocations: 0 / 0.8346 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.2221, allocations: 1.322 MB / 0.8359 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.68, allocations: 4.5 kB / 0.8359 GB, free: 0.6562 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.02640477195382] Failed to read output from testmodel.py, exit status != 0: 11.771235158201307 11.793266667 11.602169427 Calling exit ...