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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8667/0.8667, allocations: 143.4 MB / 158.3 MB, free: 5.785 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.001218/0.001218, allocations: 183.4 kB / 191.5 MB, free: 5.754 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.616/1.616, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.0009305/0.0009305, allocations: 88.31 kB / 0.5187 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001651/0.001651, allocations: 280.7 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006083/0.0006083, allocations: 19.19 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1908, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.3496, allocations: 108.7 MB / 0.8799 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.3499, allocations: 75.95 kB / 0.88 GB, free: 0.8711 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3543/0.7041, allocations: 1.082 MB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.785e-06/0.7042, allocations: 0 / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.7042, allocations: 0.7188 kB / 0.881 GB, free: 109.1 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.0005063/0.7047, allocations: 384.2 kB / 0.8814 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.7048, allocations: 9.5 kB / 0.8814 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.7048, allocations: 34.42 kB / 0.8814 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.7049, allocations: 3.094 kB / 0.8814 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.095e-05/0.7049, allocations: 173.8 kB / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.7049, allocations: 5.359 kB / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.705, allocations: 4.062 kB / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.7052, allocations: 90.78 kB / 0.8817 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.7052, allocations: 0.7812 kB / 0.8817 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.7053, allocations: 0 / 0.8817 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.7053, allocations: 3.219 kB / 0.8817 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.7056, allocations: 104.7 kB / 0.8818 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.706, allocations: 317.3 kB / 0.8821 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.7063, allocations: 87.67 kB / 0.8822 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.7064, allocations: 103 kB / 0.8823 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.7065, allocations: 33 kB / 0.8823 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.7065, allocations: 2.219 kB / 0.8823 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0005618/0.707, allocations: 189.9 kB / 0.8825 GB, free: 108 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.7071, allocations: 54.59 kB / 0.8826 GB, free: 108 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.019e-05/0.7072, allocations: 118.8 kB / 0.8827 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.7072, allocations: 25.7 kB / 0.8827 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.7073, allocations: 92.33 kB / 0.8828 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.7073, allocations: 9.062 kB / 0.8828 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.7073, allocations: 5.906 kB / 0.8828 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.272e-05/0.7074, allocations: 327.8 kB / 0.8831 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.7076, allocations: 47.81 kB / 0.8832 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.7079, allocations: 52.02 kB / 0.8832 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.7081, allocations: 45.73 kB / 0.8832 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7081, allocations: 0 / 0.8832 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005314/0.7087, allocations: 142.6 kB / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.7087, allocations: 12.28 kB / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.7087, allocations: 0 / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.7087, allocations: 0 / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.709, allocations: 20.12 kB / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.709, allocations: 3.234 kB / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.7091, allocations: 19.34 kB / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.7092, allocations: 4 kB / 0.8834 GB, free: 107.4 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 7.398e-05/0.7093, allocations: 121.2 kB / 0.8836 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.7093, allocations: 7.781 kB / 0.8836 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005763/0.7099, allocations: 148.4 kB / 0.8837 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.7099, allocations: 0.7188 kB / 0.8837 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.7099, allocations: 1.031 kB / 0.8837 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7099, allocations: 2.078 kB / 0.8837 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.7101, allocations: 187.1 kB / 0.8839 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7101, allocations: 0 / 0.8839 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.7103, allocations: 25.59 kB / 0.8839 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7103, allocations: 2.906 kB / 0.8839 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.7103, allocations: 0 / 0.8839 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7103, allocations: 0 / 0.8839 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7103, allocations: 0 / 0.8839 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.7107, allocations: 232.5 kB / 0.8841 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.7107, allocations: 93.25 kB / 0.8842 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.7108, allocations: 1.25 kB / 0.8842 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.7109, allocations: 18.5 kB / 0.8842 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.711, allocations: 10.16 kB / 0.8842 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.711, allocations: 0 / 0.8842 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.523e-05/0.7111, allocations: 104.1 kB / 0.8843 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7111, allocations: 0 / 0.8843 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003733/0.7115, allocations: 8.875 kB / 0.8844 GB, free: 106.7 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.0007457/0.7122, allocations: 0.7608 MB / 0.8851 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003111/0.7125, allocations: 107.1 kB / 0.8852 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.7126, allocations: 0 / 0.8852 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.7127, allocations: 57.11 kB / 0.8853 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.7129, allocations: 13.41 kB / 0.8853 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.7133, allocations: 188.3 kB / 0.8854 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.7134, allocations: 0.6966 MB / 0.8861 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.7135, allocations: 2.297 kB / 0.8861 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.7135, allocations: 20.11 kB / 0.8862 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.7135, allocations: 0 / 0.8862 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.7295, allocations: 1.534 MB / 0.8876 GB, free: 105 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.7298, allocations: 184 kB / 0.8878 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/2.28, allocations: 0 / 0.8878 GB, free: 104.8 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)