Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.499/1.499, allocations: 252 MB / 267 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 181.9 kB / 326.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.4 MB / 0.5777 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008291/0.000829, allocations: 101.9 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003294, allocations: 13.72 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.184, allocations: 106.3 MB / 0.9003 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001392/0.1854, allocations: 1.203 MB / 0.9015 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002279/0.1857, allocations: 108.6 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.1857, allocations: 0 / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.1858, allocations: 3.938 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-05/0.1858, allocations: 3.938 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.186, allocations: 19.97 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.1861, allocations: 39.86 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.251e-05/0.1861, allocations: 11.98 kB / 0.9017 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.168e-05/0.1862, allocations: 19.92 kB / 0.9017 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.1862, allocations: 19.91 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1863, allocations: 4 kB / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.134e-05/0.1863, allocations: 11.98 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.1863, allocations: 11.98 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.1864, allocations: 33.64 kB / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.872e-05/0.1865, allocations: 31.94 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1865, allocations: 8 kB / 0.9018 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1865, allocations: 3.938 kB / 0.9018 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1865, allocations: 3.938 kB / 0.9018 GB, free: 62.29 MB / 0.6042 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.000409/0.1869, allocations: 371.5 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1869, allocations: 12.03 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.382e-05/0.187, allocations: 30.56 kB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.187, allocations: 11.89 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.374e-05/0.1871, allocations: 184.6 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1871, allocations: 0 / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-06/0.1871, allocations: 0 / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.1874, allocations: 89.58 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1874, allocations: 0 / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1874, allocations: 8 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1874, allocations: 0 / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.1877, allocations: 95.92 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.188, allocations: 284.9 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.1882, allocations: 82.47 kB / 0.9029 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.1884, allocations: 52.91 kB / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/0.1886, allocations: 109.1 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.1886, allocations: 30.56 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1886, allocations: 4 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005099/0.1891, allocations: 177.5 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.1891, allocations: 55.41 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.1892, allocations: 133.8 kB / 0.9035 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.1892, allocations: 25.7 kB / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.1893, allocations: 88.14 kB / 0.9036 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.1893, allocations: 11.84 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.1893, allocations: 0 / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.857e-05/0.1894, allocations: 322.8 kB / 0.9039 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.1895, allocations: 51.95 kB / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.1896, allocations: 43.97 kB / 0.904 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1898, allocations: 51.95 kB / 0.904 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1898, allocations: 0 / 0.904 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003026/0.1901, allocations: 129.5 kB / 0.9041 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1901, allocations: 4 kB / 0.9041 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1901, allocations: 0 / 0.9041 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1901, allocations: 8.266 kB / 0.9042 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1903, allocations: 27.97 kB / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1903, allocations: 0 / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.677e-05/0.1904, allocations: 19.94 kB / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1904, allocations: 4 kB / 0.9042 GB, free: 59.58 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.37e-05/0.1904, allocations: 121.8 kB / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.1905, allocations: 11.88 kB / 0.9043 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.1908, allocations: 137.5 kB / 0.9045 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1908, allocations: 3.938 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1908, allocations: 0 / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1909, allocations: 4 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.191, allocations: 177.6 kB / 0.9046 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.191, allocations: 0 / 0.9046 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.145e-05/0.1911, allocations: 19.98 kB / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1911, allocations: 4 kB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1911, allocations: 7.984 kB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1911, allocations: 4 kB / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1911, allocations: 0 / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.1915, allocations: 231.3 kB / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.1915, allocations: 81.09 kB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1915, allocations: 4 kB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1916, allocations: 15.98 kB / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.1917, allocations: 4 kB / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1917, allocations: 3.984 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.746e-05/0.1917, allocations: 102.4 kB / 0.9051 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1917, allocations: 0 / 0.9051 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001995/0.1919, allocations: 15.91 kB / 0.9051 GB, free: 58.55 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005211/0.1925, allocations: 0.7592 MB / 0.9059 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.1928, allocations: 103.9 kB / 0.906 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1928, allocations: 0 / 0.906 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.193, allocations: 51.95 kB / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.1932, allocations: 8 kB / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.1936, allocations: 202.1 kB / 0.9062 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.1937, allocations: 0.6887 MB / 0.9069 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.1937, allocations: 11.86 kB / 0.9069 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.1938, allocations: 15.44 kB / 0.9069 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.1938, allocations: 0 / 0.9069 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01128/0.2051, allocations: 1.547 MB / 0.9084 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001386/0.2053, allocations: 182.7 kB / 0.9086 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/1.758, allocations: 4 kB / 0.9086 GB, free: 54.98 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)