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.001871/0.001871, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002964/0.002964, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.781 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.002523/0.002523, allocations: 294.5 kB / 312.7 MB, free: 2.594 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.249/1.249, allocations: 180.6 MB / 0.5369 GB, free: 14.59 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.002917/0.002917, allocations: 95.77 kB / 0.7395 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1866, allocations: 95.39 MB / 0.8326 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.00305/0.1896, allocations: 1.506 MB / 0.8341 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000436/0.1901, allocations: 108.5 kB / 0.8342 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.1901, allocations: 0 / 0.8342 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.201e-05/0.1902, allocations: 3.938 kB / 0.8342 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.418e-05/0.1903, allocations: 7.938 kB / 0.8342 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1905, allocations: 19.97 kB / 0.8343 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.1906, allocations: 51.73 kB / 0.8343 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1907, allocations: 7.984 kB / 0.8343 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.027e-05/0.1908, allocations: 19.92 kB / 0.8343 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.877e-05/0.1908, allocations: 23.91 kB / 0.8344 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1909, allocations: 4 kB / 0.8344 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.217e-05/0.1909, allocations: 19.98 kB / 0.8344 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.191, allocations: 11.98 kB / 0.8344 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.191, allocations: 15.88 kB / 0.8344 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1912, allocations: 60.02 kB / 0.8345 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1912, allocations: 0 / 0.8345 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1912, allocations: 0 / 0.8345 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.1912, allocations: 4 kB / 0.8345 GB, free: 6.371 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.0005962/0.1918, allocations: 310 kB / 0.8348 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.1918, allocations: 9.344 kB / 0.8348 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.1919, allocations: 30.75 kB / 0.8348 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.1919, allocations: 12.83 kB / 0.8348 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1921, allocations: 118.4 kB / 0.8349 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1921, allocations: 384 / 0.8349 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.1921, allocations: 4.375 kB / 0.8349 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.1924, allocations: 70.22 kB / 0.835 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1924, allocations: 3.938 kB / 0.835 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1924, allocations: 8 kB / 0.835 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1924, allocations: 4 kB / 0.835 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.1927, allocations: 71.91 kB / 0.8351 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.1931, allocations: 255.9 kB / 0.8353 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.1933, allocations: 62.53 kB / 0.8354 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.1935, allocations: 48.92 kB / 0.8354 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/0.1937, allocations: 31.95 kB / 0.8355 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1937, allocations: 34.56 kB / 0.8355 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1937, allocations: 0 / 0.8355 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005504/0.1943, allocations: 149.5 kB / 0.8356 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.1943, allocations: 55.34 kB / 0.8357 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.1944, allocations: 125.8 kB / 0.8358 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1945, allocations: 25.7 kB / 0.8358 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.167e-05/0.1946, allocations: 100.1 kB / 0.8359 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.1946, allocations: 3.953 kB / 0.8359 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.1946, allocations: 17.72 kB / 0.8359 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1948, allocations: 318.8 kB / 0.8363 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1949, allocations: 35.97 kB / 0.8363 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.1951, allocations: 39.95 kB / 0.8363 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.1953, allocations: 80.72 kB / 0.8364 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1953, allocations: 0 / 0.8364 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003408/0.1957, allocations: 121.5 kB / 0.8365 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1957, allocations: 11.98 kB / 0.8365 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1957, allocations: 0 / 0.8365 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1957, allocations: 0 / 0.8365 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1958, allocations: 11.98 kB / 0.8365 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1958, allocations: 4 kB / 0.8365 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.127e-05/0.1959, allocations: 19.92 kB / 0.8366 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1959, allocations: 7.984 kB / 0.8366 GB, free: 4.016 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.0001089/0.196, allocations: 122.4 kB / 0.8367 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.1961, allocations: 3.953 kB / 0.8367 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.1965, allocations: 117.5 kB / 0.8368 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1965, allocations: 4 kB / 0.8368 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1965, allocations: 4 kB / 0.8368 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1965, allocations: 0 / 0.8368 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.1967, allocations: 144.7 kB / 0.8369 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1967, allocations: 4 kB / 0.837 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.94e-05/0.1968, allocations: 11.98 kB / 0.837 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1968, allocations: 0 / 0.837 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.1968, allocations: 0 / 0.837 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1968, allocations: 7.984 kB / 0.837 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1968, allocations: 0 / 0.837 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.1972, allocations: 215.3 kB / 0.8372 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.1972, allocations: 7.984 kB / 0.8372 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.1972, allocations: 432 / 0.8372 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1973, allocations: 11.98 kB / 0.8372 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.1974, allocations: 3.938 kB / 0.8372 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1974, allocations: 4 kB / 0.8372 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.056e-05/0.1974, allocations: 104.1 kB / 0.8373 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1974, allocations: 0 / 0.8373 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000229/0.1977, allocations: 12 kB / 0.8373 GB, free: 3.172 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.0007359/0.1984, allocations: 0.7413 MB / 0.838 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003452/0.1988, allocations: 83.86 kB / 0.8381 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1988, allocations: 0 / 0.8381 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.1989, allocations: 39.95 kB / 0.8382 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.1992, allocations: 9.562 kB / 0.8382 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.1997, allocations: 197.4 kB / 0.8384 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.311e-05/0.1998, allocations: 79.27 kB / 0.8384 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.1998, allocations: 8 kB / 0.8384 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.1999, allocations: 15.42 kB / 0.8385 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1999, allocations: 0 / 0.8385 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.2304, allocations: 2.453 MB / 0.8408 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.41, allocations: 3.281 kB / 0.8408 GB, free: 15.61 MB / 0.5919 GB " [Timeout remaining time 648] (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.77381843701005] Failed to read output from testmodel.py, exit status != 0: 11.516211243811995 11.532215331 11.33798343 Calling exit ...