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.001163/0.001164, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.001066/0.001066, allocations: 191 kB / 17.29 MB, free: 5.516 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.339/1.339, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.756/1.756, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001455/0.001455, allocations: 75.19 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.223, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002597/0.2257, allocations: 1.476 MB / 0.7862 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002811/0.226, allocations: 104.5 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.226, allocations: 0 / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.879e-05/0.226, allocations: 7.875 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.727e-05/0.2261, allocations: 7.922 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.2263, allocations: 23.97 kB / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.162e-05/0.2264, allocations: 51.78 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.2265, allocations: 8 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.2266, allocations: 19.92 kB / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.008e-05/0.2266, allocations: 19.92 kB / 0.7864 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.2266, allocations: 4 kB / 0.7865 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.423e-05/0.2267, allocations: 19.98 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.25e-05/0.2268, allocations: 19.91 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.2269, allocations: 23.86 kB / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.227, allocations: 47.88 kB / 0.7866 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.227, allocations: 4 kB / 0.7866 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.687e-06/0.227, allocations: 0 / 0.7866 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.227, allocations: 3.938 kB / 0.7866 GB, free: 1.324 MB / 0.6544 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.0005495/0.2276, allocations: 379.2 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2276, allocations: 8.031 kB / 0.7869 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.2277, allocations: 8.844 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.2278, allocations: 176.2 kB / 0.7871 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.2278, allocations: 384 / 0.7871 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.2279, allocations: 12.38 kB / 0.7871 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.2281, allocations: 74.2 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2281, allocations: 192 / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2282, allocations: 3.938 kB / 0.7872 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2282, allocations: 0 / 0.7872 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.2285, allocations: 75.92 kB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.2289, allocations: 292.7 kB / 0.7875 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.2291, allocations: 70.47 kB / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.2293, allocations: 40.92 kB / 0.7877 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4071/0.6363, allocations: 109.8 kB / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.6364, allocations: 34.12 kB / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.514e-06/0.6364, allocations: 0 / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0006109/0.637, allocations: 144.8 kB / 0.7879 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.6371, allocations: 58.28 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.6372, allocations: 129.7 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.6372, allocations: 25.7 kB / 0.7881 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.6373, allocations: 93.7 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.6373, allocations: 7.078 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.6373, allocations: 12.56 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.6374, allocations: 318.2 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.6375, allocations: 37.2 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.6377, allocations: 39.34 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.6379, allocations: 81.61 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6379, allocations: 3.75 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002691/0.6382, allocations: 115.6 kB / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.6382, allocations: 3.156 kB / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6382, allocations: 2.906 kB / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.6383, allocations: 0 / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.6384, allocations: 20.23 kB / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.6384, allocations: 6.438 kB / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.186e-05/0.6385, allocations: 8.688 kB / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.6385, allocations: 3.031 kB / 0.7889 GB, free: 48.17 MB / 0.6544 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.968e-05/0.6385, allocations: 121.1 kB / 0.789 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.6386, allocations: 6.094 kB / 0.789 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.6389, allocations: 120.6 kB / 0.7891 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6389, allocations: 2.156 kB / 0.7891 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6389, allocations: 0 / 0.7891 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.6389, allocations: 5.812 kB / 0.7891 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.6391, allocations: 181.6 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.6391, allocations: 0 / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.695e-05/0.6392, allocations: 19.59 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.6392, allocations: 0 / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.6392, allocations: 2.594 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.6392, allocations: 0 / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6392, allocations: 2.578 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.6395, allocations: 211.4 kB / 0.7895 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.6395, allocations: 80.95 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.6396, allocations: 5.297 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.6397, allocations: 10.22 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.6397, allocations: 9.031 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.6397, allocations: 3.531 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.828e-05/0.6398, allocations: 96.05 kB / 0.7897 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6398, allocations: 0.5312 kB / 0.7897 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002266/0.64, allocations: 9.594 kB / 0.7897 GB, free: 47.52 MB / 0.6544 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.0001443/0.6402, allocations: 107.1 kB / 0.7898 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.6405, allocations: 83.98 kB / 0.7899 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6405, allocations: 1 kB / 0.7899 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.6407, allocations: 39.55 kB / 0.7899 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.6409, allocations: 13.78 kB / 0.7899 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.6412, allocations: 147 kB / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.6415, allocations: 0.6892 MB / 0.7907 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.75e-05/0.6415, allocations: 3.312 kB / 0.7908 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.6415, allocations: 14.66 kB / 0.7908 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.6415, allocations: 0 / 0.7908 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.002949/0.6445, allocations: 0.7915 MB / 0.7915 GB, free: 46.61 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)