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.001288/0.001288, 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.001437/0.001437, allocations: 191 kB / 16.14 MB, free: 6.66 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.142/1.142, allocations: 205.1 MB / 222 MB, free: 4.75 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.505/1.505, allocations: 292.3 MB / 0.5484 GB, free: 13.72 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.001308/0.001308, allocations: 70.67 kB / 0.6709 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1669, allocations: 114.6 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.00157/0.1685, allocations: 0.5987 MB / 0.7834 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000428/0.169, allocations: 191.5 kB / 0.7836 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.248e-05/0.169, allocations: 0 / 0.7836 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.169, allocations: 0 / 0.7836 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.212e-05/0.1691, allocations: 7.938 kB / 0.7836 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.1693, allocations: 47.92 kB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.678e-05/0.1694, allocations: 15.88 kB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.356e-05/0.1694, allocations: 4 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.928e-05/0.1694, allocations: 7.984 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.666e-05/0.1695, allocations: 7.984 kB / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.1695, allocations: 0 / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.1697, allocations: 115.9 kB / 0.7838 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.1697, allocations: 11.92 kB / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.1697, allocations: 11.92 kB / 0.7838 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.1699, allocations: 67.83 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1699, allocations: 3.938 kB / 0.7838 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.52e-07/0.1699, allocations: 0 / 0.7838 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.1699, allocations: 4 kB / 0.7838 GB, free: 12.87 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.0002968/0.1702, allocations: 339.7 kB / 0.7842 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1702, allocations: 11.97 kB / 0.7842 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.1703, allocations: 38.75 kB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.1703, allocations: 4.844 kB / 0.7842 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.147e-05/0.1704, allocations: 168.4 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.1704, allocations: 384 / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.1704, allocations: 384 / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.206e-05/0.1705, allocations: 38.27 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1705, allocations: 3.938 kB / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1705, allocations: 3.984 kB / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1705, allocations: 0 / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.585e-05/0.1706, allocations: 19.92 kB / 0.7844 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.1707, allocations: 157.7 kB / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.132e-05/0.1708, allocations: 22.61 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.1708, allocations: 16.91 kB / 0.7846 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.1708, allocations: 4 kB / 0.7846 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1708, allocations: 38.56 kB / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1709, allocations: 0 / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004425/0.1713, allocations: 298.1 kB / 0.785 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.1713, allocations: 55.41 kB / 0.785 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.716e-05/0.1714, allocations: 106.3 kB / 0.7851 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.1714, allocations: 29.7 kB / 0.7851 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.1715, allocations: 92.08 kB / 0.7852 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.1715, allocations: 11.83 kB / 0.7852 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.1715, allocations: 17.72 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.1716, allocations: 314.8 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.1716, allocations: 15.98 kB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.84e-05/0.1717, allocations: 17.72 kB / 0.7856 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.922e-05/0.1717, allocations: 49.64 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1717, allocations: 0 / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.082e-05/0.1718, allocations: 73.53 kB / 0.7857 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1719, allocations: 11.92 kB / 0.7857 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1719, allocations: 0 / 0.7857 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1719, allocations: 4 kB / 0.7857 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-05/0.1719, allocations: 4 kB / 0.7857 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1719, allocations: 8.125 kB / 0.7857 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/0.172, allocations: 4 kB / 0.7857 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.172, allocations: 0 / 0.7857 GB, free: 10.64 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.875e-05/0.172, allocations: 110.5 kB / 0.7858 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.1721, allocations: 7.875 kB / 0.7859 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.1722, allocations: 73.58 kB / 0.7859 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1722, allocations: 0 / 0.7859 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1722, allocations: 7.984 kB / 0.7859 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1722, allocations: 3.938 kB / 0.7859 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.392e-05/0.1723, allocations: 165.7 kB / 0.7861 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1723, allocations: 0 / 0.7861 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.1724, allocations: 4 kB / 0.7861 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1724, allocations: 3.938 kB / 0.7861 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1724, allocations: 7.984 kB / 0.7861 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1724, allocations: 0 / 0.7861 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1724, allocations: 0 / 0.7861 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.1725, allocations: 101 kB / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.1726, allocations: 93.28 kB / 0.7863 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.1726, allocations: 0 / 0.7863 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.11e-05/0.1726, allocations: 0 / 0.7863 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.1726, allocations: 11.97 kB / 0.7863 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1727, allocations: 4 kB / 0.7863 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.1727, allocations: 83.28 kB / 0.7864 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1727, allocations: 0 / 0.7864 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001964/0.1729, allocations: 19.98 kB / 0.7864 GB, free: 9.844 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.0003895/0.1733, allocations: 0.6671 MB / 0.7871 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.965e-05/0.1734, allocations: 27.98 kB / 0.7871 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1734, allocations: 7.938 kB / 0.7871 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.895e-05/0.1734, allocations: 11.98 kB / 0.7871 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.1736, allocations: 4 kB / 0.7871 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008986/0.1745, allocations: 1.25 MB / 0.7883 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.1747, allocations: 0.6809 MB / 0.789 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.331e-05/0.1747, allocations: 7.938 kB / 0.789 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.1747, allocations: 19.42 kB / 0.789 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.1747, allocations: 0 / 0.789 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6806/0.8554, allocations: 1.724 MB / 0.7907 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003762/0.8558, allocations: 217.4 kB / 0.7909 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.527, allocations: 0 / 0.7909 GB, free: 5.188 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)