Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 198.2 kB / 16.64 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 68.75 kB / 0.6723 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1869, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002598/0.1895, allocations: 1.484 MB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002663/0.1898, allocations: 104.6 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.1899, allocations: 4 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.1899, allocations: 3.938 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.005e-05/0.19, allocations: 11.88 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.1901, allocations: 19.97 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.638e-05/0.1902, allocations: 43.84 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.1903, allocations: 12 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.998e-05/0.1904, allocations: 15.92 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.475e-05/0.1904, allocations: 31.89 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1904, allocations: 4 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.699e-05/0.1905, allocations: 15.98 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.1906, allocations: 15.94 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.1906, allocations: 23.8 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.1907, allocations: 55.81 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1907, allocations: 0 / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1907, allocations: 0 / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1907, allocations: 0 / 0.7859 GB, free: 10.89 MB / 0.6075 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.0004976/0.1912, allocations: 383.2 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1913, allocations: 12.03 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.1913, allocations: 4.844 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1914, allocations: 172.3 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1914, allocations: 4.375 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.1915, allocations: 384 / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.1917, allocations: 78.14 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1917, allocations: 192 / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1917, allocations: 11.94 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.1917, allocations: 0 / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.192, allocations: 75.92 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.1923, allocations: 284.8 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.1925, allocations: 78.41 kB / 0.787 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.1927, allocations: 40.92 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/0.1929, allocations: 105.1 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.1929, allocations: 38.56 kB / 0.7872 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1929, allocations: 0 / 0.7872 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005065/0.1934, allocations: 141.6 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.1935, allocations: 55.39 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.283e-05/0.1936, allocations: 125.8 kB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.1936, allocations: 29.64 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.1936, allocations: 104 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.1937, allocations: 3.906 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.1937, allocations: 17.72 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.1938, allocations: 318.8 kB / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1939, allocations: 35.97 kB / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.1941, allocations: 40.14 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.1943, allocations: 80.86 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1944, allocations: 3.938 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003068/0.1947, allocations: 117.5 kB / 0.7882 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1947, allocations: 4 kB / 0.7882 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1947, allocations: 0 / 0.7882 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1947, allocations: 0 / 0.7882 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1948, allocations: 19.92 kB / 0.7882 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1948, allocations: 0 / 0.7882 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.331e-05/0.1949, allocations: 15.98 kB / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1949, allocations: 0 / 0.7882 GB, free: 8.297 MB / 0.6075 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.972e-05/0.195, allocations: 129.7 kB / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.195, allocations: 7.906 kB / 0.7883 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.1954, allocations: 113.5 kB / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1954, allocations: 0 / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1954, allocations: 0 / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.1954, allocations: 7.984 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.1956, allocations: 181.6 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1956, allocations: 0 / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.201e-05/0.1957, allocations: 19.91 kB / 0.7887 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1957, allocations: 4 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1957, allocations: 0 / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1957, allocations: 0 / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1957, allocations: 0 / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.196, allocations: 207.4 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.1961, allocations: 85.02 kB / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.1961, allocations: 0 / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.872e-05/0.1962, allocations: 11.98 kB / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.1962, allocations: 7.984 kB / 0.789 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1963, allocations: 0 / 0.789 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.935e-05/0.1963, allocations: 110.3 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1963, allocations: 0 / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002239/0.1966, allocations: 12 kB / 0.7891 GB, free: 7.312 MB / 0.6075 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.0001191/0.1967, allocations: 103.2 kB / 0.7892 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.197, allocations: 83.84 kB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.197, allocations: 4 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.1972, allocations: 43.95 kB / 0.7893 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.1974, allocations: 8.875 kB / 0.7893 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.1977, allocations: 149.4 kB / 0.7894 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.1979, allocations: 0.6885 MB / 0.7901 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.952e-05/0.198, allocations: 8 kB / 0.7901 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/0.198, allocations: 7.438 kB / 0.7901 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.198, allocations: 3.938 kB / 0.7901 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of Templates: time 0.002753/0.2007, allocations: 0.7951 MB / 0.7909 GB, free: 5.375 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)