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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001133/0.001133, allocations: 192.2 kB / 16.13 MB, free: 6.668 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.366/1.366, allocations: 205.1 MB / 222 MB, free: 4.766 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.669/1.669, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001278/0.001278, allocations: 64.89 kB / 0.6709 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1681, allocations: 114.5 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002168/0.1703, allocations: 1.549 MB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002608/0.1706, allocations: 112.5 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.1706, allocations: 0 / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.1706, allocations: 3.938 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-05/0.1707, allocations: 15.92 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.1708, allocations: 15.98 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.964e-05/0.1709, allocations: 39.86 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.365e-05/0.171, allocations: 11.98 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.801e-05/0.171, allocations: 19.92 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.71e-05/0.1711, allocations: 19.91 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1711, allocations: 4 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.223e-05/0.1711, allocations: 15.98 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.1712, allocations: 15.92 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.1712, allocations: 19.88 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.523e-05/0.1713, allocations: 52.14 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1713, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.01e-07/0.1713, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.1714, allocations: 0 / 0.7846 GB, free: 12.05 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.000435/0.1718, allocations: 383.1 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.1718, allocations: 8.031 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.1719, allocations: 42.67 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.192e-05/0.1719, allocations: 4.938 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.172, allocations: 176.3 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.172, allocations: 4.375 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.172, allocations: 384 / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.1723, allocations: 74.2 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1723, allocations: 3.938 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1723, allocations: 0 / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1723, allocations: 4 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002626/0.1726, allocations: 71.92 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.1729, allocations: 300.7 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.1731, allocations: 62.64 kB / 0.7857 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.1732, allocations: 48.81 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/0.1734, allocations: 109.1 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.1735, allocations: 34.56 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1735, allocations: 4 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004872/0.1739, allocations: 149.4 kB / 0.786 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.174, allocations: 51.41 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.991e-05/0.1741, allocations: 125.8 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.1741, allocations: 29.7 kB / 0.7862 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.1741, allocations: 92.14 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.1742, allocations: 7.891 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.1742, allocations: 21.66 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.1743, allocations: 310.8 kB / 0.7867 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1744, allocations: 39.95 kB / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1746, allocations: 43.95 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.1748, allocations: 80.72 kB / 0.7868 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1748, allocations: 3.938 kB / 0.7868 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003/0.1751, allocations: 113.5 kB / 0.7869 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.1752, allocations: 4 kB / 0.7869 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1752, allocations: 0 / 0.7869 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1752, allocations: 0 / 0.7869 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1753, allocations: 23.97 kB / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1753, allocations: 3.938 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.1754, allocations: 11.98 kB / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.1754, allocations: 0 / 0.787 GB, free: 9.402 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 6.472e-05/0.1755, allocations: 122.4 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.1755, allocations: 11.89 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.1758, allocations: 117.5 kB / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1759, allocations: 0 / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1759, allocations: 0 / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1759, allocations: 0 / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.176, allocations: 189.6 kB / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.176, allocations: 0 / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-05/0.1761, allocations: 11.98 kB / 0.7874 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1761, allocations: 4 kB / 0.7874 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1762, allocations: 3.984 kB / 0.7874 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1762, allocations: 0 / 0.7874 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1762, allocations: 0 / 0.7874 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.1765, allocations: 207.4 kB / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.1765, allocations: 89.42 kB / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.1766, allocations: 0 / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1767, allocations: 11.98 kB / 0.7877 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.1767, allocations: 0 / 0.7877 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1767, allocations: 3.984 kB / 0.7877 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.1768, allocations: 110.8 kB / 0.7878 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1768, allocations: 0 / 0.7878 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002103/0.177, allocations: 11.94 kB / 0.7878 GB, free: 8.422 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.0005643/0.1776, allocations: 0.7485 MB / 0.7886 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.1779, allocations: 79.86 kB / 0.7886 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1779, allocations: 0 / 0.7886 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.178, allocations: 43.95 kB / 0.7887 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.1783, allocations: 11.94 kB / 0.7887 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.1787, allocations: 204.9 kB / 0.7889 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.1789, allocations: 0.6848 MB / 0.7896 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.1789, allocations: 8 kB / 0.7896 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.1789, allocations: 15.42 kB / 0.7896 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1789, allocations: 0 / 0.7896 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.669/2.848, allocations: 1.609 MB / 0.7911 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/2.848, allocations: 199.1 kB / 0.7913 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/5.686, allocations: 0 / 0.7913 GB, free: 4.758 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)