Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.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.001278/0.001278, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001604/0.001604, allocations: 216.6 kB / 22.25 MB, free: 4.855 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002541/0.002541, allocations: 288 kB / 312.7 MB, free: 2.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.216/1.216, allocations: 180.6 MB / 0.5369 GB, free: 14.41 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",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.003197/0.003197, allocations: 107.4 kB / 0.7395 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1821, allocations: 95.38 MB / 0.8326 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.00297/0.1851, allocations: 1.471 MB / 0.8341 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007754/0.1858, allocations: 349.4 kB / 0.8344 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.1859, allocations: 4 kB / 0.8344 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.1859, allocations: 7.922 kB / 0.8344 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.492e-05/0.186, allocations: 3.938 kB / 0.8344 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.1865, allocations: 115.6 kB / 0.8345 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.525e-05/0.1865, allocations: 27.92 kB / 0.8346 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.184e-05/0.1866, allocations: 4.281 kB / 0.8346 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.1867, allocations: 8 kB / 0.8346 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/0.1867, allocations: 11.92 kB / 0.8346 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1867, allocations: 0 / 0.8346 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004278/0.1872, allocations: 263.7 kB / 0.8348 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.1872, allocations: 11.97 kB / 0.8349 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.1872, allocations: 3.938 kB / 0.8349 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.1874, allocations: 111.6 kB / 0.835 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1874, allocations: 0 / 0.835 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1874, allocations: 0 / 0.835 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.1875, allocations: 4 kB / 0.835 GB, free: 5.91 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.0005908/0.188, allocations: 296.2 kB / 0.8353 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1881, allocations: 9.344 kB / 0.8353 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.1881, allocations: 38.69 kB / 0.8353 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.1882, allocations: 0.9375 kB / 0.8353 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1883, allocations: 118.4 kB / 0.8354 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-06/0.1883, allocations: 384 / 0.8354 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1883, allocations: 384 / 0.8354 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1885, allocations: 50.23 kB / 0.8355 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1885, allocations: 7.938 kB / 0.8355 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1885, allocations: 4 kB / 0.8355 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1885, allocations: 0 / 0.8355 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.1886, allocations: 27.97 kB / 0.8355 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.189, allocations: 224 kB / 0.8357 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.1891, allocations: 38.5 kB / 0.8357 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/0.1892, allocations: 24.89 kB / 0.8358 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005187/0.1897, allocations: 75.92 kB / 0.8358 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1897, allocations: 34.56 kB / 0.8359 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1897, allocations: 0 / 0.8359 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003925/0.1901, allocations: 89.58 kB / 0.836 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.1902, allocations: 51.41 kB / 0.836 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.1903, allocations: 109.8 kB / 0.8361 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1903, allocations: 25.7 kB / 0.8361 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/0.1903, allocations: 88.12 kB / 0.8362 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.1904, allocations: 11.89 kB / 0.8362 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.1904, allocations: 9.719 kB / 0.8362 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1906, allocations: 322.8 kB / 0.8366 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.1906, allocations: 16.11 kB / 0.8366 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.994e-05/0.1907, allocations: 15.98 kB / 0.8366 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1909, allocations: 40.81 kB / 0.8366 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.1909, allocations: 3.938 kB / 0.8366 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002202/0.1911, allocations: 73.62 kB / 0.8367 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1911, allocations: 8 kB / 0.8367 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1911, allocations: 3.984 kB / 0.8367 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.1911, allocations: 0 / 0.8367 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.1912, allocations: 8 kB / 0.8367 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1912, allocations: 4 kB / 0.8367 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.1913, allocations: 7.984 kB / 0.8367 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.1913, allocations: 256 / 0.8367 GB, free: 3.914 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 (2): * Single equations (assignments): 2 * 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 8.258e-05/0.1914, allocations: 114.4 kB / 0.8368 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.1914, allocations: 8.031 kB / 0.8368 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.1916, allocations: 77.22 kB / 0.8369 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1916, allocations: 7.984 kB / 0.8369 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1916, allocations: 0 / 0.8369 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1917, allocations: 3.984 kB / 0.8369 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.1918, allocations: 128.7 kB / 0.8371 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1918, allocations: 0 / 0.8371 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.1919, allocations: 8 kB / 0.8371 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1919, allocations: 32 / 0.8371 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.1919, allocations: 4 kB / 0.8371 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1919, allocations: 0 / 0.8371 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1919, allocations: 7.984 kB / 0.8371 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.1921, allocations: 159.5 kB / 0.8372 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.1922, allocations: 7.938 kB / 0.8372 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.1922, allocations: 4 kB / 0.8372 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.1922, allocations: 0 / 0.8372 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.1923, allocations: 11.92 kB / 0.8372 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.1923, allocations: 4.031 kB / 0.8372 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.76e-05/0.1923, allocations: 83.28 kB / 0.8373 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1923, allocations: 0 / 0.8373 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000231/0.1926, allocations: 12 kB / 0.8373 GB, free: 3.207 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 (2): * Single equations (assignments): 2 * 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.0006529/0.1932, allocations: 0.7141 MB / 0.838 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.1934, allocations: 43.94 kB / 0.8381 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1934, allocations: 0 / 0.8381 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.709e-05/0.1935, allocations: 19.97 kB / 0.8381 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.1938, allocations: 10.19 kB / 0.8381 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.1943, allocations: 143.2 kB / 0.8382 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.167e-05/0.1943, allocations: 63.34 kB / 0.8383 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.591e-05/0.1944, allocations: 3.984 kB / 0.8383 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.1944, allocations: 15.56 kB / 0.8383 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.1944, allocations: 4 kB / 0.8383 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.2229, allocations: 2.145 MB / 0.8404 GB, free: 108 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.57, allocations: 2.25 kB / 0.8404 GB, free: 108 kB / 0.5762 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower_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_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.823379978071898] Failed to read output from testmodel.py, exit status != 0: 11.67006004601717 11.686763256 11.496206276 Calling exit ...