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.8613/0.8613, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 187 kB / 187.3 MB, free: 11.89 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.618/1.618, allocations: 221.3 MB / 441.4 MB, free: 4.66 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.001035/0.001035, allocations: 100.9 kB / 0.5124 GB, free: 24.13 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 274.5 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.691e-05/4.711e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.561, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.7024, allocations: 108.6 MB / 0.8704 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.7028, allocations: 71.95 kB / 0.8705 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003719/0.7065, allocations: 1.084 MB / 0.8715 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7066, allocations: 0 / 0.8715 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.7066, allocations: 0 / 0.8715 GB, free: 14.8 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.0005552/0.7072, allocations: 378.3 kB / 0.8719 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.7072, allocations: 8.031 kB / 0.8719 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.541e-05/0.7073, allocations: 34.56 kB / 0.8719 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.7073, allocations: 4 kB / 0.8719 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.7075, allocations: 178 kB / 0.8721 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.7076, allocations: 7.953 kB / 0.8721 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.7076, allocations: 0 / 0.8721 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.7078, allocations: 53.67 kB / 0.8722 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.7078, allocations: 3.984 kB / 0.8722 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.7078, allocations: 4 kB / 0.8722 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.7078, allocations: 4 kB / 0.8722 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.942e-05/0.7079, allocations: 27.98 kB / 0.8722 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006862/0.7086, allocations: 328.8 kB / 0.8725 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.7087, allocations: 46.56 kB / 0.8726 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.7088, allocations: 28.94 kB / 0.8726 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/0.709, allocations: 101.1 kB / 0.8727 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.7091, allocations: 34.55 kB / 0.8727 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 2.274e-06/0.7091, allocations: 0 / 0.8727 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0002407/0.7094, allocations: 69.53 kB / 0.8728 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.7094, allocations: 55.41 kB / 0.8728 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.7095, allocations: 121 kB / 0.873 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.7096, allocations: 25.7 kB / 0.873 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.729e-05/0.7097, allocations: 92.12 kB / 0.8731 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.7097, allocations: 11.81 kB / 0.8731 GB, free: 13 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.7097, allocations: 0 / 0.8731 GB, free: 13 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.7099, allocations: 322.8 kB / 0.8734 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.988e-05/0.7099, allocations: 15.98 kB / 0.8734 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.059e-05/0.71, allocations: 12 kB / 0.8734 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.069e-05/0.71, allocations: 19.98 kB / 0.8734 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.71, allocations: 3.938 kB / 0.8734 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001418/0.7102, allocations: 73.61 kB / 0.8735 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.7102, allocations: 11.94 kB / 0.8735 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.7102, allocations: 0 / 0.8735 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.571e-05/0.7103, allocations: 0 / 0.8735 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.7104, allocations: 19.98 kB / 0.8735 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.7105, allocations: 4 kB / 0.8735 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.325e-05/0.7106, allocations: 23.97 kB / 0.8736 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.7106, allocations: 0 / 0.8736 GB, free: 12.48 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 () * 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 9.339e-05/0.7107, allocations: 108.9 kB / 0.8737 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.7107, allocations: 3.906 kB / 0.8737 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.711, allocations: 85.69 kB / 0.8738 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.711, allocations: 0 / 0.8738 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.711, allocations: 4 kB / 0.8738 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.711, allocations: 0 / 0.8738 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.7112, allocations: 181.5 kB / 0.8739 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7112, allocations: 0 / 0.8739 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.7113, allocations: 19.98 kB / 0.874 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.7114, allocations: 0 / 0.874 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.7114, allocations: 4.234 kB / 0.874 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.7114, allocations: 0 / 0.874 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7114, allocations: 3.984 kB / 0.874 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.7116, allocations: 167.4 kB / 0.8741 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/0.7117, allocations: 92.95 kB / 0.8742 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.7117, allocations: 4 kB / 0.8742 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.7118, allocations: 15.98 kB / 0.8742 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.7119, allocations: 0 / 0.8742 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.7119, allocations: 11.98 kB / 0.8742 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.292e-05/0.712, allocations: 95.28 kB / 0.8743 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.712, allocations: 0 / 0.8743 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002177/0.7122, allocations: 11.94 kB / 0.8743 GB, free: 11.59 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 () * 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.0005892/0.7128, allocations: 0.6968 MB / 0.875 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.713, allocations: 39.98 kB / 0.8751 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.713, allocations: 0 / 0.8751 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.114e-05/0.713, allocations: 19.94 kB / 0.8751 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.7132, allocations: 8 kB / 0.8751 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.7137, allocations: 142.5 kB / 0.8752 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.714, allocations: 0.6887 MB / 0.8759 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.474e-05/0.7141, allocations: 8 kB / 0.8759 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.7141, allocations: 19.42 kB / 0.8759 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/0.7142, allocations: 3.938 kB / 0.8759 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.7309, allocations: 1.541 MB / 0.8774 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003052/0.7313, allocations: 156.7 kB / 0.8776 GB, free: 8.262 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.437, allocations: 0 / 0.8776 GB, free: 8.262 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)