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.001674/0.001674, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001885/0.001885, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.434/1.434, allocations: 205.1 MB / 222.8 MB, free: 4.637 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.631/1.631, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001366/0.001366, allocations: 70.36 kB / 0.6716 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2063, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002474/0.2088, allocations: 1.545 MB / 0.785 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002743/0.2091, allocations: 104.6 kB / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.2091, allocations: 3.938 kB / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.018e-05/0.2092, allocations: 0 / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.775e-05/0.2092, allocations: 15.92 kB / 0.7851 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.2094, allocations: 19.97 kB / 0.7852 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.233e-05/0.2095, allocations: 43.86 kB / 0.7852 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/0.2096, allocations: 7.984 kB / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.886e-05/0.2096, allocations: 15.94 kB / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.2097, allocations: 27.84 kB / 0.7852 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.2097, allocations: 4 kB / 0.7853 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.047e-05/0.2098, allocations: 27.98 kB / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.2098, allocations: 11.92 kB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.483e-05/0.2099, allocations: 27.86 kB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.424e-05/0.2099, allocations: 31.94 kB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.21, allocations: 0 / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.21, allocations: 0 / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.21, allocations: 0 / 0.7853 GB, free: 11.98 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.0005048/0.2105, allocations: 375.5 kB / 0.7857 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.2105, allocations: 12.03 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.2106, allocations: 8.844 kB / 0.7857 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.2107, allocations: 180.2 kB / 0.7859 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.2107, allocations: 384 / 0.7859 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2107, allocations: 8.375 kB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.211, allocations: 70.22 kB / 0.786 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.211, allocations: 4.172 kB / 0.786 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.211, allocations: 3.938 kB / 0.786 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.211, allocations: 0 / 0.786 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.2113, allocations: 75.92 kB / 0.7861 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.2116, allocations: 292.7 kB / 0.7863 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.2119, allocations: 74.47 kB / 0.7864 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.212, allocations: 40.91 kB / 0.7864 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002399/0.2123, allocations: 113.1 kB / 0.7866 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.2123, allocations: 34.56 kB / 0.7866 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.2123, allocations: 0 / 0.7866 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005357/0.2128, allocations: 141.5 kB / 0.7867 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.2129, allocations: 55.41 kB / 0.7868 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.481e-05/0.213, allocations: 129.8 kB / 0.7869 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.213, allocations: 33.7 kB / 0.7869 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.2131, allocations: 92.05 kB / 0.787 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.2131, allocations: 11.89 kB / 0.787 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.2131, allocations: 9.719 kB / 0.787 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2133, allocations: 318.8 kB / 0.7873 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.2134, allocations: 35.95 kB / 0.7874 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.2135, allocations: 39.97 kB / 0.7874 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.2138, allocations: 85.03 kB / 0.7875 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2138, allocations: 3.938 kB / 0.7875 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003118/0.2141, allocations: 113.5 kB / 0.7876 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2142, allocations: 8.625 kB / 0.7876 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2142, allocations: 0 / 0.7876 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.2142, allocations: 0 / 0.7876 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.2143, allocations: 23.91 kB / 0.7876 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2143, allocations: 0 / 0.7876 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.381e-05/0.2144, allocations: 11.98 kB / 0.7876 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.2144, allocations: 4 kB / 0.7877 GB, free: 9.375 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 7.221e-05/0.2145, allocations: 117.8 kB / 0.7878 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.2145, allocations: 3.906 kB / 0.7878 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.2149, allocations: 125.4 kB / 0.7879 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2149, allocations: 4 kB / 0.7879 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.2149, allocations: 0 / 0.7879 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2149, allocations: 0 / 0.7879 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.2151, allocations: 185.6 kB / 0.7881 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2151, allocations: 0 / 0.7881 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.144e-05/0.2152, allocations: 15.98 kB / 0.7881 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2152, allocations: 0 / 0.7881 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2152, allocations: 0 / 0.7881 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2152, allocations: 0 / 0.7881 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2152, allocations: 7.984 kB / 0.7881 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.2156, allocations: 207.4 kB / 0.7883 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.2156, allocations: 81.02 kB / 0.7884 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.2156, allocations: 7.984 kB / 0.7884 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.2158, allocations: 7.984 kB / 0.7884 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.2158, allocations: 7.938 kB / 0.7884 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.2158, allocations: 3.938 kB / 0.7884 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.427e-05/0.2159, allocations: 108.2 kB / 0.7885 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2159, allocations: 0 / 0.7885 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002282/0.2161, allocations: 12 kB / 0.7885 GB, free: 8.391 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.0001266/0.2162, allocations: 99.19 kB / 0.7886 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.2166, allocations: 79.92 kB / 0.7887 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2166, allocations: 4 kB / 0.7887 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.2168, allocations: 43.89 kB / 0.7887 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.217, allocations: 11.94 kB / 0.7887 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.2174, allocations: 200.1 kB / 0.7889 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.2176, allocations: 0.6807 MB / 0.7896 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.2176, allocations: 11.44 kB / 0.7896 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2176, allocations: 0 / 0.7896 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of Templates: time 0.002147/0.2198, allocations: 0.8953 MB / 0.7905 GB, free: 6.312 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)