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.41/1.41, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.001335/0.001335, allocations: 182.4 kB / 325.9 MB, free: 2.688 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.637/1.637, allocations: 205 MB / 0.576 GB, free: 21 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.0007421/0.000742, allocations: 87.69 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003136, allocations: 14.66 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1852, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002025/0.1873, allocations: 1.23 MB / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003264/0.1877, allocations: 105.4 kB / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.1877, allocations: 0 / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.17e-05/0.1878, allocations: 0 / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.269e-05/0.1879, allocations: 7.938 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.1881, allocations: 19.97 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.076e-05/0.1881, allocations: 39.86 kB / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.1882, allocations: 16 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.68e-05/0.1883, allocations: 15.92 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.263e-05/0.1883, allocations: 23.89 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1884, allocations: 4 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.555e-05/0.1884, allocations: 19.92 kB / 0.8976 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.1885, allocations: 8 kB / 0.8977 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.1885, allocations: 19.86 kB / 0.8977 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.975e-05/0.1886, allocations: 51.8 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1887, allocations: 8 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.1887, allocations: 3.938 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1887, allocations: 0 / 0.8977 GB, free: 66.51 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.0004401/0.1891, allocations: 367.4 kB / 0.8981 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1892, allocations: 12.03 kB / 0.8981 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.505e-05/0.1892, allocations: 34.75 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.1893, allocations: 4.844 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.956e-05/0.1893, allocations: 188.1 kB / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1894, allocations: 384 / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.1894, allocations: 4.375 kB / 0.8983 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.1896, allocations: 86.22 kB / 0.8984 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1896, allocations: 3.938 kB / 0.8984 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1897, allocations: 3.984 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1897, allocations: 0 / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.1899, allocations: 95.92 kB / 0.8985 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.1903, allocations: 288.8 kB / 0.8988 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1905, allocations: 82.52 kB / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.1906, allocations: 56.91 kB / 0.8989 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/0.1908, allocations: 105.1 kB / 0.899 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.1909, allocations: 38.56 kB / 0.899 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1909, allocations: 0 / 0.899 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005174/0.1914, allocations: 177.5 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.1914, allocations: 55.34 kB / 0.8993 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/0.1915, allocations: 131.3 kB / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.1915, allocations: 25.7 kB / 0.8994 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.1916, allocations: 92.05 kB / 0.8995 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.1916, allocations: 7.906 kB / 0.8995 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.1916, allocations: 13.72 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.1917, allocations: 322.8 kB / 0.8998 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.1918, allocations: 47.95 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.192, allocations: 47.97 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.1922, allocations: 100.7 kB / 0.9 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1922, allocations: 0 / 0.9 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002979/0.1925, allocations: 141.5 kB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1926, allocations: 8 kB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1926, allocations: 0 / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1926, allocations: 0 / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1927, allocations: 19.98 kB / 0.9002 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1927, allocations: 7.984 kB / 0.9002 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.1928, allocations: 23.97 kB / 0.9002 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1928, allocations: 0 / 0.9002 GB, free: 63.71 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.368e-05/0.1929, allocations: 121.7 kB / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.1929, allocations: 4 kB / 0.9003 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.1933, allocations: 153.3 kB / 0.9005 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1933, allocations: 8 kB / 0.9005 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1933, allocations: 0 / 0.9005 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1933, allocations: 0 / 0.9005 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.1934, allocations: 177.6 kB / 0.9007 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1934, allocations: 4 kB / 0.9007 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.755e-05/0.1935, allocations: 15.98 kB / 0.9007 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1935, allocations: 4 kB / 0.9007 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1935, allocations: 0 / 0.9007 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1935, allocations: 0 / 0.9007 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1935, allocations: 4 kB / 0.9007 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.1939, allocations: 227.8 kB / 0.9009 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.1939, allocations: 85.02 kB / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1939, allocations: 3.938 kB / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.194, allocations: 23.97 kB / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.1941, allocations: 7.969 kB / 0.901 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.1941, allocations: 8 kB / 0.901 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.933e-05/0.1941, allocations: 95.27 kB / 0.9011 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1941, allocations: 0 / 0.9011 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002076/0.1944, allocations: 12 kB / 0.9011 GB, free: 62.68 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 (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.0005016/0.1949, allocations: 0.7631 MB / 0.9019 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.1952, allocations: 99.86 kB / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1952, allocations: 8 kB / 0.902 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.1953, allocations: 51.95 kB / 0.902 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.1956, allocations: 4 kB / 0.902 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.196, allocations: 196.9 kB / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.1961, allocations: 0.6848 MB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.892e-05/0.1961, allocations: 7.859 kB / 0.9029 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.1962, allocations: 15.44 kB / 0.9029 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.1962, allocations: 0 / 0.9029 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0102/0.2064, allocations: 1.562 MB / 0.9044 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/0.2066, allocations: 206.6 kB / 0.9046 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/1.755, allocations: 3.938 kB / 0.9046 GB, free: 59.07 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)