Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",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.001012/0.001012, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0011/0.0011, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.164/1.164, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.494/1.494, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001316/0.001316, allocations: 70.2 kB / 0.6711 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1686, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001534/0.1701, allocations: 0.5948 MB / 0.7836 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003891/0.1705, allocations: 183.4 kB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.344e-05/0.1706, allocations: 4 kB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.1706, allocations: 0 / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.159e-05/0.1706, allocations: 4 kB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.171, allocations: 59.86 kB / 0.7838 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.796e-05/0.171, allocations: 7.938 kB / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.934e-05/0.1711, allocations: 4 kB / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.659e-05/0.1711, allocations: 11.97 kB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.973e-05/0.1711, allocations: 4 kB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.1711, allocations: 0 / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.1713, allocations: 131.8 kB / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.1713, allocations: 15.92 kB / 0.784 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.1714, allocations: 3.938 kB / 0.784 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.1715, allocations: 79.83 kB / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1715, allocations: 0 / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1715, allocations: 0 / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1715, allocations: 0 / 0.784 GB, free: 12.7 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002677/0.1718, allocations: 339.7 kB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.1718, allocations: 8.031 kB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.443e-05/0.1719, allocations: 30.75 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.1719, allocations: 8.844 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.133e-05/0.172, allocations: 164.3 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.172, allocations: 8.312 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.172, allocations: 4.375 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.043e-05/0.1721, allocations: 42.25 kB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.1721, allocations: 3.938 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.1721, allocations: 0 / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-06/0.1721, allocations: 0 / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.331e-05/0.1722, allocations: 11.98 kB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.1723, allocations: 157.7 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.329e-05/0.1723, allocations: 30.52 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.1724, allocations: 12.92 kB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.1724, allocations: 7.984 kB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.1724, allocations: 34.56 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.1724, allocations: 0 / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004357/0.1729, allocations: 298.3 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.1729, allocations: 55.41 kB / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.07e-05/0.173, allocations: 113.8 kB / 0.7853 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.173, allocations: 25.7 kB / 0.7853 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.173, allocations: 84.14 kB / 0.7854 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.173, allocations: 11.84 kB / 0.7854 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.1731, allocations: 17.7 kB / 0.7854 GB, free: 11 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.1732, allocations: 314.8 kB / 0.7857 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/0.1732, allocations: 12 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.996e-05/0.1732, allocations: 29.7 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.85e-05/0.1733, allocations: 49.58 kB / 0.7858 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1733, allocations: 0 / 0.7858 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.544e-05/0.1734, allocations: 69.53 kB / 0.7859 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1734, allocations: 7.938 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.1734, allocations: 0 / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.1734, allocations: 4.062 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.014e-05/0.1735, allocations: 12.12 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1735, allocations: 0 / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.1735, allocations: 0 / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.1735, allocations: 4 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.546e-05/0.1736, allocations: 109.8 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.1736, allocations: 11.92 kB / 0.786 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.1737, allocations: 69.52 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1737, allocations: 4 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1737, allocations: 4 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1737, allocations: 0 / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.341e-05/0.1738, allocations: 169.6 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1738, allocations: 0 / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.1739, allocations: 8 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1739, allocations: 7.875 kB / 0.7863 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.1739, allocations: 0 / 0.7863 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1739, allocations: 4 kB / 0.7863 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1739, allocations: 0 / 0.7863 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.174, allocations: 109 kB / 0.7864 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.1741, allocations: 88.98 kB / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.1741, allocations: 4 kB / 0.7865 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.187e-05/0.1741, allocations: 0 / 0.7865 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.1742, allocations: 0 / 0.7865 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.1742, allocations: 4 kB / 0.7865 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.493e-05/0.1742, allocations: 83.27 kB / 0.7866 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1742, allocations: 4 kB / 0.7866 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001982/0.1744, allocations: 24.06 kB / 0.7866 GB, free: 9.68 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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.0003574/0.1748, allocations: 0.6515 MB / 0.7872 GB, free: 9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.951e-05/0.1749, allocations: 35.92 kB / 0.7873 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1749, allocations: 3.938 kB / 0.7873 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.312e-05/0.1749, allocations: 20.17 kB / 0.7873 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.175, allocations: 8 kB / 0.7873 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008185/0.1759, allocations: 1.252 MB / 0.7885 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.176, allocations: 0.6807 MB / 0.7892 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.221e-05/0.1761, allocations: 4 kB / 0.7892 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.1761, allocations: 15.42 kB / 0.7892 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1761, allocations: 8 kB / 0.7892 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2311/0.4072, allocations: 1.767 MB / 0.7909 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.4075, allocations: 221.7 kB / 0.7912 GB, free: 5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.137, allocations: 1 kB / 0.7912 GB, free: 5 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)