Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.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.001343/0.001343, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001711/0.001711, allocations: 216.9 kB / 22.25 MB, free: 5.125 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.977 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.002516/0.002516, allocations: 286.3 kB / 312.7 MB, free: 2.895 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.26/1.26, allocations: 180.6 MB / 0.5369 GB, free: 13.06 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.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",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.002875/0.002875, allocations: 105 kB / 0.7396 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1881, allocations: 95.37 MB / 0.8327 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002732/0.1909, allocations: 1.532 MB / 0.8342 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000308/0.1912, allocations: 108.6 kB / 0.8343 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.1912, allocations: 0 / 0.8343 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.603e-05/0.1913, allocations: 7.922 kB / 0.8343 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.175e-05/0.1913, allocations: 7.938 kB / 0.8343 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.1915, allocations: 19.97 kB / 0.8344 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.92e-05/0.1916, allocations: 47.8 kB / 0.8344 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.76e-05/0.1917, allocations: 7.984 kB / 0.8344 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.1917, allocations: 16 kB / 0.8344 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.1918, allocations: 31.83 kB / 0.8345 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1918, allocations: 4 kB / 0.8345 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.452e-05/0.1918, allocations: 19.98 kB / 0.8345 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.1919, allocations: 8 kB / 0.8345 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.1919, allocations: 23.86 kB / 0.8345 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.192, allocations: 60.02 kB / 0.8346 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1921, allocations: 0 / 0.8346 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1921, allocations: 3.938 kB / 0.8346 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.1921, allocations: 0 / 0.8346 GB, free: 6.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005072/0.1926, allocations: 306.1 kB / 0.8349 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1926, allocations: 13.34 kB / 0.8349 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.009e-05/0.1926, allocations: 30.75 kB / 0.8349 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.1927, allocations: 8.891 kB / 0.8349 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1928, allocations: 114.4 kB / 0.835 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1928, allocations: 4.359 kB / 0.835 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.1928, allocations: 4.375 kB / 0.835 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.1931, allocations: 78.16 kB / 0.8351 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1931, allocations: 3.938 kB / 0.8351 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1931, allocations: 4 kB / 0.8351 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1931, allocations: 0 / 0.8351 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.1934, allocations: 75.86 kB / 0.8352 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.1938, allocations: 263.9 kB / 0.8354 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.194, allocations: 70.52 kB / 0.8355 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.1942, allocations: 36.92 kB / 0.8355 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.1944, allocations: 35.97 kB / 0.8356 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1944, allocations: 30.56 kB / 0.8356 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.1944, allocations: 3.938 kB / 0.8356 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005335/0.195, allocations: 141.6 kB / 0.8357 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.195, allocations: 59.41 kB / 0.8358 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.1951, allocations: 128.1 kB / 0.8359 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1951, allocations: 29.64 kB / 0.836 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.1952, allocations: 96.08 kB / 0.836 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1952, allocations: 11.95 kB / 0.8361 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.1953, allocations: 9.719 kB / 0.8361 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1954, allocations: 322.8 kB / 0.8364 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.1956, allocations: 35.97 kB / 0.8364 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1957, allocations: 35.95 kB / 0.8364 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.196, allocations: 88.66 kB / 0.8365 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.196, allocations: 0 / 0.8365 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003162/0.1963, allocations: 113.6 kB / 0.8366 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1963, allocations: 8 kB / 0.8366 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1963, allocations: 0 / 0.8366 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1963, allocations: 0 / 0.8366 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1964, allocations: 11.98 kB / 0.8367 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1964, allocations: 4 kB / 0.8367 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.485e-05/0.1965, allocations: 19.92 kB / 0.8367 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1965, allocations: 4 kB / 0.8367 GB, free: 4.398 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): 3 * 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 0.0001014/0.1966, allocations: 122.4 kB / 0.8368 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.1967, allocations: 3.953 kB / 0.8368 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.197, allocations: 121.5 kB / 0.8369 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.197, allocations: 4 kB / 0.8369 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.197, allocations: 4 kB / 0.8369 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.197, allocations: 3.938 kB / 0.8369 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.1972, allocations: 148.7 kB / 0.8371 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1972, allocations: 0 / 0.8371 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-05/0.1973, allocations: 19.97 kB / 0.8371 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1973, allocations: 0 / 0.8371 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1973, allocations: 0 / 0.8371 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1973, allocations: 0 / 0.8371 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1973, allocations: 4 kB / 0.8371 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.1977, allocations: 215.7 kB / 0.8373 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.1977, allocations: 4 kB / 0.8373 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1977, allocations: 4 kB / 0.8373 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.971e-05/0.1978, allocations: 8.031 kB / 0.8373 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.1979, allocations: 15.97 kB / 0.8373 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.1979, allocations: 0 / 0.8373 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.543e-05/0.1979, allocations: 99.27 kB / 0.8374 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1979, allocations: 0 / 0.8374 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002249/0.1982, allocations: 12 kB / 0.8374 GB, free: 3.543 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): 3 * 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.0007012/0.1989, allocations: 0.745 MB / 0.8382 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003247/0.1992, allocations: 87.84 kB / 0.8382 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1992, allocations: 0 / 0.8382 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.1993, allocations: 39.97 kB / 0.8383 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1996, allocations: 15.03 kB / 0.8383 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.2001, allocations: 192.8 kB / 0.8385 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.2004, allocations: 0.6845 MB / 0.8392 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.2005, allocations: 8 kB / 0.8392 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.2005, allocations: 19.42 kB / 0.8392 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.2005, allocations: 0 / 0.8392 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.228, allocations: 2 MB / 0.8411 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.66, allocations: 16.45 kB / 0.8411 GB, free: 15.79 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic_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_Biquadratic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.03274162299931] Failed to read output from testmodel.py, exit status != 0: 10.75871841800108 10.783387259 10.586754375 Calling exit ...