Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.472/1.472, allocations: 288.4 MB / 303.6 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000882/0.000882, allocations: 176.5 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.154/1.154, allocations: 205.4 MB / 0.631 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008362/0.0008361, allocations: 90.34 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 23.33 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.154, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0004877/0.1545, allocations: 258.3 kB / 0.9804 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003347/0.1549, allocations: 175.6 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.514e-05/0.1549, allocations: 0 / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.155, allocations: 0 / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.783e-05/0.155, allocations: 0 / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1553, allocations: 51.86 kB / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.849e-05/0.1554, allocations: 4 kB / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.1554, allocations: 7.984 kB / 0.9807 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.928e-05/0.1554, allocations: 11.94 kB / 0.9807 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.719e-05/0.1555, allocations: 7.938 kB / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.1555, allocations: 0 / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.1556, allocations: 119.8 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.1557, allocations: 7.984 kB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.1557, allocations: 37.62 kB / 0.9808 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.416e-05/0.1558, allocations: 39.94 kB / 0.9809 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1558, allocations: 3.938 kB / 0.9809 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1558, allocations: 0 / 0.9809 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.1558, allocations: 0 / 0.9809 GB, free: 26.53 MB / 0.6198 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.0002269/0.1561, allocations: 339.7 kB / 0.9812 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1561, allocations: 8.031 kB / 0.9812 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.414e-05/0.1561, allocations: 30.75 kB / 0.9812 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.1562, allocations: 4.938 kB / 0.9812 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.801e-05/0.1562, allocations: 172.3 kB / 0.9814 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1563, allocations: 4.375 kB / 0.9814 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.1563, allocations: 384 / 0.9814 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.149e-05/0.1564, allocations: 38.27 kB / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1564, allocations: 7.875 kB / 0.9815 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.1564, allocations: 4 kB / 0.9815 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1564, allocations: 0 / 0.9815 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.1564, allocations: 11.98 kB / 0.9815 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.1565, allocations: 157.7 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.592e-05/0.1566, allocations: 22.61 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.1566, allocations: 16.91 kB / 0.9817 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.1566, allocations: 4 kB / 0.9817 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.1566, allocations: 38.56 kB / 0.9817 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1567, allocations: 0 / 0.9817 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004077/0.1571, allocations: 298.2 kB / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/0.1571, allocations: 51.41 kB / 0.982 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.964e-05/0.1572, allocations: 113.8 kB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.1572, allocations: 29.86 kB / 0.9822 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.851e-05/0.1572, allocations: 84.14 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.1572, allocations: 23.73 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-06/0.1572, allocations: 0 / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.869e-05/0.1573, allocations: 310.8 kB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.1573, allocations: 12 kB / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.089e-05/0.1573, allocations: 25.7 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.231e-05/0.1574, allocations: 41.7 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.1574, allocations: 3.938 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.2e-05/0.1574, allocations: 61.69 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.1575, allocations: 11.94 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1575, allocations: 0 / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1575, allocations: 0 / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.327e-05/0.1575, allocations: 11.98 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1576, allocations: 3.938 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.302e-05/0.1576, allocations: 4 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1576, allocations: 8.062 kB / 0.9827 GB, free: 24.33 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.1576, allocations: 105.8 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.1576, allocations: 15.92 kB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.1578, allocations: 77.56 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1578, allocations: 0 / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1578, allocations: 0 / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1578, allocations: 0 / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.772e-05/0.1579, allocations: 169.7 kB / 0.9831 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1579, allocations: 4 kB / 0.9831 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.1579, allocations: 4 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1579, allocations: 3.938 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.381e-06/0.1579, allocations: 3.938 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1579, allocations: 0 / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1579, allocations: 0 / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.158, allocations: 105.1 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.1581, allocations: 84.95 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.1581, allocations: 0 / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.27e-05/0.1581, allocations: 8.094 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.1582, allocations: 0 / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1582, allocations: 0 / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.469e-05/0.1582, allocations: 95.52 kB / 0.9834 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.1582, allocations: 0 / 0.9834 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001844/0.1584, allocations: 20 kB / 0.9834 GB, free: 23.54 MB / 0.6198 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 (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.0002831/0.1587, allocations: 0.667 MB / 0.9841 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.008e-05/0.1588, allocations: 27.98 kB / 0.9841 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1588, allocations: 0 / 0.9841 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/0.1588, allocations: 23.92 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.1589, allocations: 0.75 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/0.1594, allocations: 469.9 kB / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.466e-05/0.1595, allocations: 0.6809 MB / 0.9852 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.279e-05/0.1595, allocations: 8.125 kB / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.1595, allocations: 15.44 kB / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1595, allocations: 3.938 kB / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2621/0.4216, allocations: 1.661 MB / 0.9869 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.4218, allocations: 213.1 kB / 0.9871 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/2.68, allocations: 3.656 kB / 0.9871 GB, free: 19.82 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)