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.001312/0.001312, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001457/0.001457, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.789 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.002513/0.002513, allocations: 287.8 kB / 312.7 MB, free: 2.578 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.226/1.226, allocations: 180.6 MB / 0.5369 GB, free: 14.56 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.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.002949/0.002949, allocations: 110 kB / 0.7395 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1852, allocations: 95.36 MB / 0.8326 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002747/0.1879, allocations: 1.512 MB / 0.8341 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003358/0.1883, allocations: 108.5 kB / 0.8342 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.1883, allocations: 0 / 0.8342 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.495e-05/0.1883, allocations: 3.938 kB / 0.8342 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.699e-05/0.1884, allocations: 15.91 kB / 0.8342 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.1886, allocations: 19.98 kB / 0.8343 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.548e-05/0.1887, allocations: 47.84 kB / 0.8343 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1888, allocations: 8 kB / 0.8343 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.015e-05/0.1889, allocations: 15.92 kB / 0.8343 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.948e-05/0.1889, allocations: 23.91 kB / 0.8344 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.1889, allocations: 4 kB / 0.8344 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.612e-05/0.189, allocations: 19.98 kB / 0.8344 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.677e-05/0.1891, allocations: 15.92 kB / 0.8344 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.1891, allocations: 19.86 kB / 0.8344 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.1893, allocations: 52.09 kB / 0.8345 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1893, allocations: 0 / 0.8345 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.234e-06/0.1893, allocations: 0 / 0.8345 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.1893, allocations: 7.938 kB / 0.8345 GB, free: 6.418 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.0005525/0.1899, allocations: 310 kB / 0.8348 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1899, allocations: 13.34 kB / 0.8348 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.887e-05/0.19, allocations: 30.75 kB / 0.8348 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.19, allocations: 8.891 kB / 0.8348 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.1901, allocations: 122.4 kB / 0.8349 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1901, allocations: 384 / 0.8349 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.1901, allocations: 8.375 kB / 0.8349 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.1904, allocations: 74.22 kB / 0.835 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1904, allocations: 3.938 kB / 0.835 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.1904, allocations: 0 / 0.835 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1904, allocations: 3.938 kB / 0.835 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.1907, allocations: 75.86 kB / 0.8351 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.1911, allocations: 256 kB / 0.8353 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.1914, allocations: 66.53 kB / 0.8354 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.1915, allocations: 44.91 kB / 0.8354 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/0.1917, allocations: 31.97 kB / 0.8355 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1918, allocations: 30.56 kB / 0.8355 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1918, allocations: 4 kB / 0.8355 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.000557/0.1923, allocations: 149.5 kB / 0.8356 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1924, allocations: 51.41 kB / 0.8357 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1925, allocations: 130 kB / 0.8358 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1925, allocations: 25.7 kB / 0.8358 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.1926, allocations: 100.1 kB / 0.8359 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.1926, allocations: 11.89 kB / 0.8359 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.1926, allocations: 13.72 kB / 0.836 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1928, allocations: 318.8 kB / 0.8363 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.193, allocations: 35.97 kB / 0.8363 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.1931, allocations: 35.95 kB / 0.8363 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.1934, allocations: 92.66 kB / 0.8364 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1934, allocations: 0 / 0.8364 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003269/0.1937, allocations: 105.6 kB / 0.8365 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1937, allocations: 7.984 kB / 0.8365 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.1937, allocations: 0 / 0.8365 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1937, allocations: 0 / 0.8365 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1939, allocations: 19.98 kB / 0.8365 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1939, allocations: 0 / 0.8365 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.661e-05/0.1939, allocations: 16.25 kB / 0.8366 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1939, allocations: 0 / 0.8366 GB, free: 4.074 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.74e-05/0.194, allocations: 122.4 kB / 0.8367 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.1941, allocations: 7.953 kB / 0.8367 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.1945, allocations: 125.5 kB / 0.8368 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1945, allocations: 0 / 0.8368 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1945, allocations: 0 / 0.8368 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.1945, allocations: 0 / 0.8368 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.1947, allocations: 148.7 kB / 0.837 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1947, allocations: 0 / 0.837 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.1948, allocations: 19.98 kB / 0.837 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1948, allocations: 0 / 0.837 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1948, allocations: 0 / 0.837 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.1948, allocations: 7.984 kB / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1948, allocations: 0 / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.1952, allocations: 211.3 kB / 0.8372 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.1952, allocations: 7.922 kB / 0.8372 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.1952, allocations: 4 kB / 0.8372 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1953, allocations: 7.984 kB / 0.8372 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.1953, allocations: 4 kB / 0.8372 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1953, allocations: 4 kB / 0.8372 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.177e-05/0.1954, allocations: 103.2 kB / 0.8373 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1954, allocations: 0 / 0.8373 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002253/0.1956, allocations: 12 kB / 0.8373 GB, free: 3.223 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.0007097/0.1963, allocations: 0.7413 MB / 0.838 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003411/0.1967, allocations: 83.92 kB / 0.8381 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1967, allocations: 0 / 0.8381 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.1968, allocations: 39.95 kB / 0.8382 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.1971, allocations: 15.25 kB / 0.8382 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.1976, allocations: 187.1 kB / 0.8384 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.488e-05/0.1976, allocations: 75.33 kB / 0.8384 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.1977, allocations: 7.938 kB / 0.8384 GB, free: 2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.1977, allocations: 19.42 kB / 0.8384 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1977, allocations: 0 / 0.8384 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.2275, allocations: 2.471 MB / 0.8409 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.29, allocations: 6.5 kB / 0.8409 GB, free: 15.65 MB / 0.5919 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.429292634129524] Failed to read output from testmodel.py, exit status != 0: 11.398696461226791 11.415103909 11.222336023 Calling exit ...