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.0011/0.0011, allocations: 105.7 kB / 16.37 MB, free: 5.539 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.001148/0.001148, allocations: 190.5 kB / 17.31 MB, free: 5.172 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.472/1.472, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.789/1.789, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001404/0.001404, allocations: 63.89 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2331, allocations: 114.5 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002723/0.2359, allocations: 1.491 MB / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003191/0.2362, allocations: 104.5 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.2363, allocations: 4 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.395e-05/0.2363, allocations: 3.938 kB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.568e-05/0.2364, allocations: 3.938 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.2366, allocations: 27.95 kB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.302e-05/0.2367, allocations: 51.78 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2368, allocations: 8 kB / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.427e-05/0.2369, allocations: 15.92 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.2369, allocations: 19.92 kB / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.237, allocations: 4 kB / 0.7865 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/0.237, allocations: 23.97 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.332e-05/0.2371, allocations: 11.94 kB / 0.7865 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.2371, allocations: 27.86 kB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.2373, allocations: 55.86 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2373, allocations: 0 / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.727e-06/0.2373, allocations: 0 / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.2373, allocations: 3.938 kB / 0.7866 GB, free: 1.305 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.000559/0.2379, allocations: 375.2 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2379, allocations: 8.031 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.238, allocations: 8.844 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.2381, allocations: 176.2 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2381, allocations: 4.375 kB / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.2381, allocations: 384 / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.2384, allocations: 78.2 kB / 0.7872 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2384, allocations: 192 / 0.7872 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.2384, allocations: 11.86 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2384, allocations: 0 / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003088/0.2388, allocations: 75.92 kB / 0.7873 GB, free: 500 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.2392, allocations: 296.7 kB / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.2394, allocations: 70.47 kB / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.2395, allocations: 44.92 kB / 0.7877 GB, free: 24 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3841/0.6236, allocations: 105.4 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.6237, allocations: 33.59 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.405e-06/0.6237, allocations: 0 / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0006094/0.6243, allocations: 147.3 kB / 0.788 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.6243, allocations: 54.72 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/0.6244, allocations: 127.2 kB / 0.7881 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.6245, allocations: 25.7 kB / 0.7882 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.6245, allocations: 94.2 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.6245, allocations: 7.406 kB / 0.7883 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.6246, allocations: 14.75 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.018e-05/0.6246, allocations: 319.2 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.6248, allocations: 37.52 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.6249, allocations: 41.94 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.6252, allocations: 79.11 kB / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6252, allocations: 3.75 kB / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002948/0.6255, allocations: 110.6 kB / 0.7888 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.6255, allocations: 7.188 kB / 0.7888 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.6255, allocations: 0 / 0.7888 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.6255, allocations: 0 / 0.7888 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.6257, allocations: 18.39 kB / 0.7889 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.6257, allocations: 3.719 kB / 0.7889 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.584e-05/0.6258, allocations: 21.02 kB / 0.7889 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.6258, allocations: 0 / 0.7889 GB, free: 48.08 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.353e-05/0.6258, allocations: 118.5 kB / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.6259, allocations: 4.969 kB / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.6262, allocations: 120.9 kB / 0.7891 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.6262, allocations: 0 / 0.7891 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6262, allocations: 0.6875 kB / 0.7891 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6262, allocations: 0 / 0.7891 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.6264, allocations: 184.7 kB / 0.7893 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6264, allocations: 0 / 0.7893 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.994e-05/0.6265, allocations: 22.16 kB / 0.7893 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6265, allocations: 0 / 0.7893 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.6265, allocations: 0 / 0.7893 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6265, allocations: 0 / 0.7893 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6265, allocations: 3.328 kB / 0.7893 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.6269, allocations: 221.1 kB / 0.7895 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.6269, allocations: 80.36 kB / 0.7896 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.6269, allocations: 2.812 kB / 0.7896 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.888e-05/0.627, allocations: 8.75 kB / 0.7896 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.6271, allocations: 6.078 kB / 0.7896 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.6271, allocations: 2.125 kB / 0.7896 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.054e-05/0.6271, allocations: 100.5 kB / 0.7897 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6271, allocations: 0.7188 kB / 0.7897 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002268/0.6274, allocations: 12.12 kB / 0.7897 GB, free: 47.43 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.0001315/0.6275, allocations: 104.2 kB / 0.7898 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003379/0.6279, allocations: 84.2 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6279, allocations: 3.281 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.628, allocations: 46.05 kB / 0.79 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.6283, allocations: 10.12 kB / 0.79 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.6286, allocations: 173.1 kB / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.6288, allocations: 0.6848 MB / 0.7908 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.6288, allocations: 11.19 kB / 0.7908 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6288, allocations: 3.781 kB / 0.7908 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.00215/0.631, allocations: 0.8885 MB / 0.7917 GB, free: 46.5 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)