Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.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.001421/0.001421, allocations: 106.7 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.001503/0.001503, 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.438/1.438, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.002486/0.002486, allocations: 295.8 kB / 309.1 MB, free: 3.98 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.296/1.296, 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.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",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.002838/0.002838, allocations: 103.6 kB / 0.7343 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1819, allocations: 95.34 MB / 0.8274 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002919/0.1848, allocations: 1.516 MB / 0.8288 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003679/0.1852, allocations: 120.5 kB / 0.829 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.1852, allocations: 0 / 0.829 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.205e-05/0.1853, allocations: 3.938 kB / 0.829 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.252e-05/0.1853, allocations: 11.94 kB / 0.829 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1856, allocations: 23.95 kB / 0.829 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.1857, allocations: 47.78 kB / 0.829 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1858, allocations: 8 kB / 0.829 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.314e-05/0.1859, allocations: 15.98 kB / 0.8291 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.631e-05/0.1859, allocations: 23.84 kB / 0.8291 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1859, allocations: 4 kB / 0.8291 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.186, allocations: 19.98 kB / 0.8291 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.1861, allocations: 8 kB / 0.8291 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.1861, allocations: 31.84 kB / 0.8291 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1863, allocations: 59.97 kB / 0.8292 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1863, allocations: 0 / 0.8292 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.428e-06/0.1863, allocations: 4 kB / 0.8292 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.1863, allocations: 0 / 0.8292 GB, free: 7.973 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.0006255/0.1869, allocations: 375.2 kB / 0.8296 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1869, allocations: 12.03 kB / 0.8296 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.624e-05/0.187, allocations: 34.69 kB / 0.8296 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.187, allocations: 12.89 kB / 0.8296 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.1872, allocations: 176.3 kB / 0.8298 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1872, allocations: 384 / 0.8298 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1872, allocations: 4.375 kB / 0.8298 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.1875, allocations: 70.22 kB / 0.8299 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1875, allocations: 7.875 kB / 0.8299 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1875, allocations: 4 kB / 0.8299 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1875, allocations: 0 / 0.8299 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.1878, allocations: 79.91 kB / 0.8299 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.1882, allocations: 292.8 kB / 0.8302 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.1884, allocations: 58.53 kB / 0.8303 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.1886, allocations: 52.91 kB / 0.8303 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002701/0.1889, allocations: 105.1 kB / 0.8304 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1889, allocations: 34.56 kB / 0.8305 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1889, allocations: 0 / 0.8305 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0006159/0.1895, allocations: 149.5 kB / 0.8306 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.1896, allocations: 51.41 kB / 0.8307 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1897, allocations: 125.8 kB / 0.8308 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1897, allocations: 25.7 kB / 0.8308 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.1897, allocations: 100.1 kB / 0.8309 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.1898, allocations: 11.88 kB / 0.8309 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.1898, allocations: 17.72 kB / 0.8309 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1899, allocations: 310.8 kB / 0.8312 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.1901, allocations: 39.95 kB / 0.8313 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.1903, allocations: 35.95 kB / 0.8313 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.1906, allocations: 88.72 kB / 0.8314 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1906, allocations: 0 / 0.8314 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003593/0.1909, allocations: 113.8 kB / 0.8315 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.191, allocations: 4 kB / 0.8315 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.191, allocations: 4 kB / 0.8315 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.191, allocations: 4.031 kB / 0.8315 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.1911, allocations: 19.97 kB / 0.8315 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1911, allocations: 0 / 0.8315 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.683e-05/0.1912, allocations: 11.98 kB / 0.8315 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1912, allocations: 4 kB / 0.8315 GB, free: 5.332 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 9.284e-05/0.1913, allocations: 118.4 kB / 0.8316 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.1913, allocations: 15.94 kB / 0.8317 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.1917, allocations: 121.5 kB / 0.8318 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1917, allocations: 0 / 0.8318 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1917, allocations: 0 / 0.8318 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1917, allocations: 0 / 0.8318 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.1919, allocations: 185.5 kB / 0.832 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1919, allocations: 0 / 0.832 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.756e-05/0.192, allocations: 15.98 kB / 0.832 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.192, allocations: 4 kB / 0.832 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.192, allocations: 3.984 kB / 0.832 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.192, allocations: 0 / 0.832 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.192, allocations: 0 / 0.832 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.1924, allocations: 211.3 kB / 0.8322 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.1925, allocations: 85.09 kB / 0.8323 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1925, allocations: 0 / 0.8323 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1926, allocations: 11.98 kB / 0.8323 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.1927, allocations: 4 kB / 0.8323 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1927, allocations: 0 / 0.8323 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.197e-05/0.1927, allocations: 103.2 kB / 0.8324 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1927, allocations: 0 / 0.8324 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002365/0.193, allocations: 16 kB / 0.8324 GB, free: 4.352 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.0007807/0.1937, allocations: 0.7386 MB / 0.8331 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.1941, allocations: 83.86 kB / 0.8332 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1941, allocations: 0 / 0.8332 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.1943, allocations: 39.95 kB / 0.8332 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.1945, allocations: 8 kB / 0.8332 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.195, allocations: 192.8 kB / 0.8334 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.1954, allocations: 0.6885 MB / 0.8341 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.1954, allocations: 4 kB / 0.8341 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.1954, allocations: 15.42 kB / 0.8341 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1954, allocations: 0 / 0.8341 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.2181, allocations: 1.923 MB / 0.836 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.173, allocations: 6.625 kB / 0.836 GB, free: 0.6836 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear_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_QuadraticLinear.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.434205534867942] Failed to read output from testmodel.py, exit status != 0: 8.241412314586341 8.258862147 8.069466668 Calling exit ...