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.322/1.322, allocations: 252 MB / 267.3 MB, free: 10.83 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.0009274/0.0009275, allocations: 180.4 kB / 327 MB, free: 2.082 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.452/1.452, allocations: 205.4 MB / 0.578 GB, free: 20.18 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.0007354/0.0007353, allocations: 94.27 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002858, allocations: 10.12 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1837, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001441/0.1852, allocations: 1.223 MB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002849/0.1855, allocations: 108.6 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.1856, allocations: 0 / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.1856, allocations: 0 / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-05/0.1857, allocations: 3.938 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.1858, allocations: 15.98 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.618e-05/0.1859, allocations: 51.78 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.04e-05/0.186, allocations: 12 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.852e-05/0.186, allocations: 7.984 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.924e-05/0.1861, allocations: 27.84 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.1861, allocations: 0 / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.548e-05/0.1862, allocations: 19.98 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.1862, allocations: 7.984 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.1863, allocations: 45.56 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.844e-05/0.1864, allocations: 55.8 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1864, allocations: 3.984 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1864, allocations: 0 / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.1864, allocations: 0 / 0.9025 GB, free: 61.8 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.0003867/0.1868, allocations: 375.7 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1868, allocations: 8.031 kB / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.76e-05/0.1868, allocations: 34.69 kB / 0.9029 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.338e-05/0.1869, allocations: 8.844 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.419e-05/0.187, allocations: 176.2 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.187, allocations: 4.375 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.187, allocations: 8.375 kB / 0.903 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.1872, allocations: 82.22 kB / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1873, allocations: 3.938 kB / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1873, allocations: 4 kB / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1873, allocations: 0 / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.1876, allocations: 99.91 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.1879, allocations: 288.8 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.1881, allocations: 82.47 kB / 0.9036 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.1882, allocations: 52.91 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.1884, allocations: 105.1 kB / 0.9037 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.1884, allocations: 38.55 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1884, allocations: 3.938 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005098/0.189, allocations: 177.5 kB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/0.189, allocations: 55.41 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.702e-05/0.1891, allocations: 132.5 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.1891, allocations: 25.7 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.1891, allocations: 92.05 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.1891, allocations: 11.84 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.1891, allocations: 0 / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.85e-05/0.1892, allocations: 318.8 kB / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1893, allocations: 47.97 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1895, allocations: 47.95 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.1897, allocations: 104.7 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1897, allocations: 4 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003009/0.19, allocations: 141.5 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1901, allocations: 4 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1901, allocations: 0 / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1901, allocations: 0 / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1902, allocations: 20.31 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1902, allocations: 7.984 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.66e-05/0.1903, allocations: 19.98 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1903, allocations: 0 / 0.9049 GB, free: 59.02 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 6.271e-05/0.1904, allocations: 121.8 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.1904, allocations: 4 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.1908, allocations: 149.3 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1908, allocations: 0 / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1908, allocations: 3.984 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1908, allocations: 0 / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.1909, allocations: 185.6 kB / 0.9054 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.191, allocations: 3.984 kB / 0.9054 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.25e-05/0.1911, allocations: 19.98 kB / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1911, allocations: 0 / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1911, allocations: 0 / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1911, allocations: 3.938 kB / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1911, allocations: 0 / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.1915, allocations: 239.3 kB / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.1915, allocations: 81.02 kB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.1915, allocations: 0 / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1916, allocations: 15.98 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1917, allocations: 11.98 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.1917, allocations: 0 / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.746e-05/0.1917, allocations: 95.27 kB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1917, allocations: 4 kB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000203/0.1919, allocations: 15.94 kB / 0.9058 GB, free: 57.98 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.000506/0.1924, allocations: 0.7631 MB / 0.9066 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003118/0.1928, allocations: 107.8 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1928, allocations: 0 / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.1929, allocations: 59.95 kB / 0.9067 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.1932, allocations: 2.578 kB / 0.9067 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.1935, allocations: 198.3 kB / 0.9069 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.1937, allocations: 0.6887 MB / 0.9076 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.242e-05/0.1937, allocations: 3.859 kB / 0.9076 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.1938, allocations: 23.42 kB / 0.9076 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1938, allocations: 0 / 0.9076 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01019/0.204, allocations: 1.557 MB / 0.9092 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/0.2041, allocations: 197.1 kB / 0.9093 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/1.77, allocations: 3.938 kB / 0.9093 GB, free: 54.37 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)