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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8296/0.8296, allocations: 143.4 MB / 158.3 MB, free: 5.797 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 179.5 kB / 191.5 MB, free: 5.773 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.2 MB / 447.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001026, allocations: 84.33 kB / 0.5188 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001745, allocations: 267.9 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.0004289, allocations: 16.16 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1804, allocations: 82.8 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.3347, allocations: 108.7 MB / 0.8798 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.335, allocations: 74 kB / 0.8799 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3911/0.7262, allocations: 1.082 MB / 0.881 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.327e-06/0.7262, allocations: 0 / 0.881 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.7262, allocations: 0 / 0.881 GB, free: 109.2 MB / 0.5417 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.0005996/0.7268, allocations: 376.4 kB / 0.8813 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.7269, allocations: 9.562 kB / 0.8813 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.727, allocations: 3.859 kB / 0.8813 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.7271, allocations: 177.9 kB / 0.8815 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.7271, allocations: 5.578 kB / 0.8815 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.7271, allocations: 4.781 kB / 0.8815 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.7274, allocations: 86.52 kB / 0.8816 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7274, allocations: 1.656 kB / 0.8816 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.7274, allocations: 0.5625 kB / 0.8816 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.7274, allocations: 0.875 kB / 0.8816 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.7278, allocations: 102.4 kB / 0.8817 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.7283, allocations: 326.5 kB / 0.882 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.7285, allocations: 79.92 kB / 0.8821 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.7287, allocations: 105.7 kB / 0.8822 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.7287, allocations: 38.28 kB / 0.8822 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.7287, allocations: 0 / 0.8822 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0005362/0.7293, allocations: 185.5 kB / 0.8824 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.7293, allocations: 51.41 kB / 0.8824 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.484e-05/0.7294, allocations: 118.8 kB / 0.8826 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.7294, allocations: 25.7 kB / 0.8826 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.7294, allocations: 98.69 kB / 0.8827 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.7294, allocations: 11.31 kB / 0.8827 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.7295, allocations: 0 / 0.8827 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.643e-05/0.7295, allocations: 315.9 kB / 0.883 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.7297, allocations: 52.61 kB / 0.883 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.7298, allocations: 48.86 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.7299, allocations: 54.5 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7299, allocations: 3.938 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000304/0.7303, allocations: 134.9 kB / 0.8833 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.7303, allocations: 9.219 kB / 0.8833 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7303, allocations: 0 / 0.8833 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.7303, allocations: 0 / 0.8833 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.7305, allocations: 29.02 kB / 0.8833 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.7305, allocations: 0 / 0.8833 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.782e-05/0.7306, allocations: 25.27 kB / 0.8833 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.7306, allocations: 0 / 0.8833 GB, free: 107.5 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.837e-05/0.7307, allocations: 118.5 kB / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.7307, allocations: 6.312 kB / 0.8835 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.7311, allocations: 152.5 kB / 0.8836 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7311, allocations: 2.656 kB / 0.8836 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7311, allocations: 0.5156 kB / 0.8836 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.7311, allocations: 0 / 0.8836 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.7312, allocations: 180.2 kB / 0.8838 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7312, allocations: 3.953 kB / 0.8838 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.7313, allocations: 25.3 kB / 0.8838 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.7314, allocations: 3.938 kB / 0.8838 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.7314, allocations: 4 kB / 0.8838 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.7314, allocations: 0 / 0.8838 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7314, allocations: 2.875 kB / 0.8838 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.7317, allocations: 234.8 kB / 0.884 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.7318, allocations: 87.84 kB / 0.8841 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.7318, allocations: 0 / 0.8841 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.7319, allocations: 18.41 kB / 0.8841 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.732, allocations: 9.781 kB / 0.8841 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.732, allocations: 3.234 kB / 0.8841 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.037e-05/0.732, allocations: 97.81 kB / 0.8842 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.732, allocations: 0 / 0.8842 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002414/0.7323, allocations: 8.625 kB / 0.8842 GB, free: 106.8 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001387/0.7324, allocations: 98 kB / 0.8843 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003468/0.7328, allocations: 109.1 kB / 0.8844 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.7328, allocations: 0 / 0.8844 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.7329, allocations: 57.44 kB / 0.8845 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.7331, allocations: 5.172 kB / 0.8845 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.7334, allocations: 162.9 kB / 0.8847 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.7336, allocations: 0.6927 MB / 0.8853 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.117e-05/0.7336, allocations: 3.938 kB / 0.8853 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.7336, allocations: 9.938 kB / 0.8854 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of SimCode: time 4.41e-07/0.7336, allocations: 0 / 0.8854 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.002477/0.7361, allocations: 0.6378 MB / 0.886 GB, free: 105.8 MB / 0.5417 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)