Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.007505/0.007505, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.001889/0.001889, allocations: 191.7 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002016/0.002016, allocations: 286.6 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9374/0.9374, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 95.86 kB / 0.6814 GB, free: 15.44 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1875, allocations: 86.98 MB / 0.7664 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002471/0.19, allocations: 1.49 MB / 0.7678 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002855/0.1903, allocations: 104.5 kB / 0.7679 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.1903, allocations: 4 kB / 0.7679 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.473e-05/0.1904, allocations: 3.938 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.377e-05/0.1905, allocations: 3.938 kB / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.1907, allocations: 23.97 kB / 0.768 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.1908, allocations: 47.84 kB / 0.768 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1909, allocations: 7.984 kB / 0.768 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.15e-05/0.191, allocations: 19.92 kB / 0.7681 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.151e-05/0.1911, allocations: 19.92 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1911, allocations: 4 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.308e-05/0.1912, allocations: 19.98 kB / 0.7681 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.1912, allocations: 11.92 kB / 0.7681 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.1913, allocations: 27.86 kB / 0.7681 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.1914, allocations: 67.73 kB / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1914, allocations: 0 / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1914, allocations: 0 / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.1914, allocations: 0 / 0.7682 GB, free: 6.52 MB / 0.5606 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.0005802/0.192, allocations: 371.2 kB / 0.7685 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1921, allocations: 12.02 kB / 0.7686 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.1921, allocations: 4.938 kB / 0.7686 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.1923, allocations: 176.2 kB / 0.7687 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1923, allocations: 8.375 kB / 0.7687 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.1923, allocations: 384 / 0.7687 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.1926, allocations: 78.2 kB / 0.7688 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1926, allocations: 192 / 0.7688 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1926, allocations: 3.938 kB / 0.7688 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1926, allocations: 0 / 0.7688 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.1929, allocations: 75.92 kB / 0.7689 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.1933, allocations: 288.8 kB / 0.7692 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.1936, allocations: 66.58 kB / 0.7692 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.1937, allocations: 44.81 kB / 0.7693 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/0.194, allocations: 113.1 kB / 0.7694 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.194, allocations: 34.56 kB / 0.7694 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.194, allocations: 3.938 kB / 0.7694 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0006155/0.1947, allocations: 153.4 kB / 0.7696 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.1947, allocations: 51.41 kB / 0.7696 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.1948, allocations: 125.8 kB / 0.7697 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1949, allocations: 29.64 kB / 0.7698 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.1949, allocations: 92.14 kB / 0.7698 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.1949, allocations: 15.88 kB / 0.7699 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.195, allocations: 13.72 kB / 0.7699 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.1951, allocations: 318.8 kB / 0.7702 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.1953, allocations: 35.95 kB / 0.7702 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.1954, allocations: 35.95 kB / 0.7703 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.1957, allocations: 85.06 kB / 0.7703 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1957, allocations: 3.938 kB / 0.7703 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003333/0.1961, allocations: 113.5 kB / 0.7704 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1961, allocations: 8 kB / 0.7705 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1961, allocations: 0 / 0.7705 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1961, allocations: 4 kB / 0.7705 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1962, allocations: 19.97 kB / 0.7705 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1962, allocations: 4 kB / 0.7705 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.169e-05/0.1963, allocations: 7.984 kB / 0.7705 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1963, allocations: 4 kB / 0.7705 GB, free: 3.922 MB / 0.5606 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 9.278e-05/0.1964, allocations: 118.4 kB / 0.7706 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.1965, allocations: 7.891 kB / 0.7706 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.1969, allocations: 121.5 kB / 0.7707 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1969, allocations: 0 / 0.7707 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1969, allocations: 0 / 0.7707 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1969, allocations: 4 kB / 0.7707 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.1971, allocations: 177.6 kB / 0.7709 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1971, allocations: 0 / 0.7709 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.344e-05/0.1972, allocations: 23.98 kB / 0.7709 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1972, allocations: 0 / 0.7709 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1972, allocations: 3.984 kB / 0.7709 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1972, allocations: 0 / 0.7709 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1972, allocations: 0 / 0.7709 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.1976, allocations: 211.3 kB / 0.7711 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.1976, allocations: 85.03 kB / 0.7712 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.1977, allocations: 3.938 kB / 0.7712 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1978, allocations: 11.98 kB / 0.7712 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.1978, allocations: 7.938 kB / 0.7712 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.1978, allocations: 0 / 0.7712 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.916e-05/0.1979, allocations: 106 kB / 0.7713 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1979, allocations: 0 / 0.7713 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002273/0.1981, allocations: 12 kB / 0.7713 GB, free: 2.945 MB / 0.5606 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.0001646/0.1983, allocations: 103.2 kB / 0.7714 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.1987, allocations: 79.92 kB / 0.7715 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1987, allocations: 0 / 0.7715 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.1989, allocations: 43.89 kB / 0.7716 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.1991, allocations: 19.88 kB / 0.7716 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.1995, allocations: 153.5 kB / 0.7717 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.1998, allocations: 0.6885 MB / 0.7724 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.861e-05/0.1999, allocations: 0 / 0.7724 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.1999, allocations: 11.44 kB / 0.7724 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.1999, allocations: 0 / 0.7724 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of Templates: time 0.003151/0.2031, allocations: 0.8251 MB / 0.7732 GB, free: 0.9766 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)