Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.007014/0.00702, allocations: 100 kB / 15.73 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.629/1.629, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6031/0.6031, allocations: 95.48 MB / 365.4 MB, free: 9.781 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 71.89 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1855, allocations: 69.09 MB / 0.5711 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003315/0.1889, allocations: 1.454 MB / 0.5725 GB, free: 6.852 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00036/0.1893, allocations: 100.3 kB / 0.5726 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.1893, allocations: 0 / 0.5726 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.148e-05/0.1894, allocations: 3.938 kB / 0.5726 GB, free: 6.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.276e-05/0.1895, allocations: 7.938 kB / 0.5726 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.1897, allocations: 19.97 kB / 0.5726 GB, free: 6.723 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.1898, allocations: 51.77 kB / 0.5727 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1899, allocations: 16 kB / 0.5727 GB, free: 6.656 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.203e-05/0.19, allocations: 15.92 kB / 0.5727 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.1901, allocations: 19.92 kB / 0.5727 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.1901, allocations: 4 kB / 0.5727 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.411e-05/0.1902, allocations: 15.98 kB / 0.5727 GB, free: 6.602 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.1902, allocations: 11.98 kB / 0.5728 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.1903, allocations: 27.8 kB / 0.5728 GB, free: 6.562 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1904, allocations: 59.8 kB / 0.5728 GB, free: 6.504 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1905, allocations: 0 / 0.5728 GB, free: 6.504 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1905, allocations: 0 / 0.5728 GB, free: 6.504 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.1905, allocations: 0 / 0.5728 GB, free: 6.504 MB / 446.1 MB 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.0006863/0.1912, allocations: 383.2 kB / 0.5732 GB, free: 6.082 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1912, allocations: 15.98 kB / 0.5732 GB, free: 6.066 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.1913, allocations: 4.844 kB / 0.5732 GB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.1914, allocations: 179 kB / 0.5734 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.1915, allocations: 8.125 kB / 0.5734 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1915, allocations: 0 / 0.5734 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.1918, allocations: 77.64 kB / 0.5735 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1918, allocations: 0 / 0.5735 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1918, allocations: 4 kB / 0.5735 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1918, allocations: 0 / 0.5735 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.1921, allocations: 75.92 kB / 0.5735 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.1925, allocations: 288.8 kB / 0.5738 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.1927, allocations: 62.53 kB / 0.5739 GB, free: 5.281 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.1929, allocations: 44.92 kB / 0.5739 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.1932, allocations: 109.1 kB / 0.574 GB, free: 5.109 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1932, allocations: 34.56 kB / 0.5741 GB, free: 5.066 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.1932, allocations: 0 / 0.5741 GB, free: 5.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005422/0.1937, allocations: 149.4 kB / 0.5742 GB, free: 4.914 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.1938, allocations: 55.41 kB / 0.5743 GB, free: 4.848 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1939, allocations: 125.8 kB / 0.5744 GB, free: 4.715 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.1939, allocations: 25.7 kB / 0.5744 GB, free: 4.684 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.194, allocations: 100.1 kB / 0.5745 GB, free: 4.582 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.194, allocations: 7.812 kB / 0.5745 GB, free: 4.574 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.1941, allocations: 17.72 kB / 0.5745 GB, free: 4.551 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1942, allocations: 318.8 kB / 0.5748 GB, free: 4.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1944, allocations: 43.97 kB / 0.5749 GB, free: 4.188 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.1945, allocations: 35.95 kB / 0.5749 GB, free: 4.152 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.1948, allocations: 76.78 kB / 0.575 GB, free: 4.074 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1948, allocations: 0 / 0.575 GB, free: 4.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000309/0.1951, allocations: 113.6 kB / 0.5751 GB, free: 3.957 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1951, allocations: 7.984 kB / 0.5751 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1952, allocations: 0 / 0.5751 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1952, allocations: 4 kB / 0.5751 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.1953, allocations: 15.98 kB / 0.5751 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1953, allocations: 0 / 0.5751 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.75e-05/0.1954, allocations: 27.77 kB / 0.5751 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1954, allocations: 3.938 kB / 0.5751 GB, free: 3.898 MB / 446.1 MB 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 0.0001015/0.1955, allocations: 117.8 kB / 0.5753 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.1956, allocations: 8.266 kB / 0.5753 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.1959, allocations: 121.4 kB / 0.5754 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.196, allocations: 4 kB / 0.5754 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.196, allocations: 0 / 0.5754 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.196, allocations: 3.938 kB / 0.5754 GB, free: 3.625 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.1962, allocations: 181.6 kB / 0.5756 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1962, allocations: 0 / 0.5756 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.894e-05/0.1963, allocations: 19.97 kB / 0.5756 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1963, allocations: 0 / 0.5756 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1963, allocations: 0 / 0.5756 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1963, allocations: 0 / 0.5756 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1963, allocations: 0 / 0.5756 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.1967, allocations: 211.3 kB / 0.5758 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.1968, allocations: 88.95 kB / 0.5759 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1968, allocations: 0 / 0.5759 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.734e-05/0.1969, allocations: 11.98 kB / 0.5759 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.1969, allocations: 11.98 kB / 0.5759 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.197, allocations: 7.938 kB / 0.5759 GB, free: 3.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.484e-05/0.197, allocations: 99.27 kB / 0.576 GB, free: 2.922 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.197, allocations: 0 / 0.576 GB, free: 2.922 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1973, allocations: 8 kB / 0.576 GB, free: 2.914 MB / 446.1 MB 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.000144/0.1974, allocations: 99.25 kB / 0.5761 GB, free: 2.809 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003523/0.1978, allocations: 83.91 kB / 0.5762 GB, free: 2.727 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1978, allocations: 0 / 0.5762 GB, free: 2.727 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.1979, allocations: 39.91 kB / 0.5762 GB, free: 2.688 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.1982, allocations: 12.92 kB / 0.5762 GB, free: 2.676 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.1986, allocations: 141.5 kB / 0.5764 GB, free: 2.512 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.1989, allocations: 0.6885 MB / 0.577 GB, free: 1.797 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.809e-05/0.1989, allocations: 3.984 kB / 0.577 GB, free: 1.793 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.199, allocations: 15.44 kB / 0.577 GB, free: 1.777 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.199, allocations: 0 / 0.577 GB, free: 1.777 MB / 446.1 MB Notification: Performance of Templates: time 0.003359/0.2023, allocations: 0.7878 MB / 0.5778 GB, free: 0.9961 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)