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.01104/0.01104, allocations: 101.7 kB / 15.73 MB, free: 6.488 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.001688/0.001688, allocations: 193.9 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.679/1.679, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.626/0.626, allocations: 95.48 MB / 365.4 MB, free: 9.762 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.001613/0.001613, allocations: 74.08 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.18, allocations: 69.08 MB / 0.5711 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002527/0.1826, allocations: 1.467 MB / 0.5725 GB, free: 6.855 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002991/0.1829, allocations: 84.31 kB / 0.5726 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.1829, allocations: 0 / 0.5726 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.59e-05/0.183, allocations: 3.938 kB / 0.5726 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.221e-05/0.1831, allocations: 11.92 kB / 0.5726 GB, free: 6.758 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.1833, allocations: 27.91 kB / 0.5726 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.939e-05/0.1834, allocations: 47.84 kB / 0.5727 GB, free: 6.684 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1836, allocations: 11.98 kB / 0.5727 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.939e-05/0.1836, allocations: 11.94 kB / 0.5727 GB, free: 6.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.1837, allocations: 27.91 kB / 0.5727 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1837, allocations: 4 kB / 0.5727 GB, free: 6.629 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.49e-05/0.1838, allocations: 19.98 kB / 0.5727 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.666e-05/0.1838, allocations: 7.984 kB / 0.5727 GB, free: 6.602 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.1839, allocations: 27.69 kB / 0.5728 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.1841, allocations: 59.86 kB / 0.5728 GB, free: 6.516 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.1841, allocations: 0 / 0.5728 GB, free: 6.516 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.1841, allocations: 4 kB / 0.5728 GB, free: 6.512 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1841, allocations: 0 / 0.5728 GB, free: 6.512 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.0006581/0.1847, allocations: 375.2 kB / 0.5732 GB, free: 6.098 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1848, allocations: 15.98 kB / 0.5732 GB, free: 6.082 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.1849, allocations: 8.844 kB / 0.5732 GB, free: 6.074 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.185, allocations: 179.1 kB / 0.5734 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1851, allocations: 8.125 kB / 0.5734 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.1851, allocations: 0 / 0.5734 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.1854, allocations: 73.66 kB / 0.5735 GB, free: 5.777 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1854, allocations: 0 / 0.5735 GB, free: 5.777 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1854, allocations: 4 kB / 0.5735 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1854, allocations: 0 / 0.5735 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.1857, allocations: 83.84 kB / 0.5736 GB, free: 5.691 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.1862, allocations: 284.9 kB / 0.5738 GB, free: 5.363 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.1864, allocations: 62.53 kB / 0.5739 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.1866, allocations: 48.91 kB / 0.5739 GB, free: 5.242 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.1869, allocations: 105.1 kB / 0.574 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.1869, allocations: 46.47 kB / 0.5741 GB, free: 5.066 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1869, allocations: 0 / 0.5741 GB, free: 5.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005652/0.1875, allocations: 145.5 kB / 0.5742 GB, free: 4.918 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.1875, allocations: 51.41 kB / 0.5743 GB, free: 4.855 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1876, allocations: 129.8 kB / 0.5744 GB, free: 4.719 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1877, allocations: 25.7 kB / 0.5744 GB, free: 4.688 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.1877, allocations: 88.14 kB / 0.5745 GB, free: 4.598 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.1878, allocations: 11.81 kB / 0.5745 GB, free: 4.586 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.1878, allocations: 21.7 kB / 0.5745 GB, free: 4.559 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.188, allocations: 318.8 kB / 0.5748 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1881, allocations: 39.95 kB / 0.5749 GB, free: 4.199 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.1883, allocations: 35.91 kB / 0.5749 GB, free: 4.164 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.1885, allocations: 84.78 kB / 0.575 GB, free: 4.078 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1886, allocations: 0 / 0.575 GB, free: 4.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003071/0.1889, allocations: 105.6 kB / 0.5751 GB, free: 3.969 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1889, allocations: 4 kB / 0.5751 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1889, allocations: 0 / 0.5751 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1889, allocations: 8 kB / 0.5751 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1891, allocations: 11.98 kB / 0.5751 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1891, allocations: 0 / 0.5751 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.1892, allocations: 27.75 kB / 0.5751 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1892, allocations: 7.938 kB / 0.5751 GB, free: 3.91 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.0001202/0.1894, allocations: 117.7 kB / 0.5753 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.1894, allocations: 4 kB / 0.5753 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.1898, allocations: 125.5 kB / 0.5754 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1898, allocations: 0 / 0.5754 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1898, allocations: 0 / 0.5754 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1898, allocations: 3.938 kB / 0.5754 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.19, allocations: 181.6 kB / 0.5756 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.19, allocations: 0 / 0.5756 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.535e-05/0.1901, allocations: 15.98 kB / 0.5756 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1902, allocations: 4 kB / 0.5756 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.1902, allocations: 0 / 0.5756 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1902, allocations: 0 / 0.5756 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1902, allocations: 0 / 0.5756 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.1906, allocations: 215.2 kB / 0.5758 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.1907, allocations: 85.02 kB / 0.5759 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.1907, allocations: 4 kB / 0.5759 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.1908, allocations: 15.97 kB / 0.5759 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.1909, allocations: 432 / 0.5759 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1909, allocations: 7.938 kB / 0.5759 GB, free: 3.039 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.278e-05/0.191, allocations: 103.3 kB / 0.576 GB, free: 2.938 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.191, allocations: 0 / 0.576 GB, free: 2.938 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.1912, allocations: 8 kB / 0.576 GB, free: 2.93 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.0001398/0.1914, allocations: 103.2 kB / 0.5761 GB, free: 2.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003459/0.1917, allocations: 87.84 kB / 0.5762 GB, free: 2.734 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1917, allocations: 0 / 0.5762 GB, free: 2.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.1919, allocations: 39.95 kB / 0.5762 GB, free: 2.695 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.1921, allocations: 8.938 kB / 0.5762 GB, free: 2.688 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/0.1925, allocations: 141.6 kB / 0.5764 GB, free: 2.523 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.1928, allocations: 0.6885 MB / 0.577 GB, free: 1.809 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.719e-05/0.1929, allocations: 0 / 0.577 GB, free: 1.809 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.1929, allocations: 11.44 kB / 0.577 GB, free: 1.797 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1929, allocations: 0 / 0.577 GB, free: 1.797 MB / 446.1 MB Notification: Performance of Templates: time 0.003475/0.1964, allocations: 0.8226 MB / 0.5778 GB, free: 0.9844 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)