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.0008196/0.0008229, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.004539/0.004539, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.19/1.19, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.521/1.521, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004652/0.0004653, allocations: 14.88 kB / 0.6744 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1702, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0005289/0.1707, allocations: 266.1 kB / 0.7882 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004248/0.1712, allocations: 195.5 kB / 0.7884 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.187e-05/0.1712, allocations: 0 / 0.7884 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.1712, allocations: 0 / 0.7884 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.058e-05/0.1713, allocations: 3.938 kB / 0.7884 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.1715, allocations: 43.92 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.932e-05/0.1716, allocations: 12 kB / 0.7885 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.224e-05/0.1716, allocations: 7.938 kB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.183e-05/0.1716, allocations: 11.97 kB / 0.7885 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.313e-05/0.1717, allocations: 3.938 kB / 0.7885 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.1717, allocations: 3.938 kB / 0.7885 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.1719, allocations: 119.9 kB / 0.7886 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.635e-05/0.1719, allocations: 15.91 kB / 0.7886 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.172, allocations: 29.64 kB / 0.7887 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.1721, allocations: 67.89 kB / 0.7887 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1721, allocations: 3.938 kB / 0.7887 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1721, allocations: 0 / 0.7887 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.1721, allocations: 8 kB / 0.7887 GB, free: 10.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.0002582/0.1724, allocations: 331.7 kB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1724, allocations: 8.031 kB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.584e-05/0.1725, allocations: 38.69 kB / 0.7891 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.991e-05/0.1725, allocations: 4.938 kB / 0.7891 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.301e-05/0.1726, allocations: 164.3 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-06/0.1726, allocations: 384 / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.1726, allocations: 4.375 kB / 0.7893 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.307e-05/0.1727, allocations: 34.25 kB / 0.7893 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1727, allocations: 11.94 kB / 0.7893 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-06/0.1727, allocations: 0 / 0.7893 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1727, allocations: 0 / 0.7893 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.493e-05/0.1728, allocations: 15.98 kB / 0.7893 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.1729, allocations: 157.7 kB / 0.7895 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.008e-05/0.1729, allocations: 26.52 kB / 0.7895 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.173, allocations: 8.922 kB / 0.7895 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.173, allocations: 11.98 kB / 0.7895 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.853e-05/0.173, allocations: 30.56 kB / 0.7896 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.173, allocations: 0 / 0.7896 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004368/0.1735, allocations: 302.2 kB / 0.7898 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.1735, allocations: 51.41 kB / 0.7899 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.258e-05/0.1736, allocations: 110.1 kB / 0.79 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1736, allocations: 29.7 kB / 0.79 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.1736, allocations: 84.14 kB / 0.7901 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.1737, allocations: 15.75 kB / 0.7901 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.1737, allocations: 13.72 kB / 0.7901 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.1738, allocations: 314.8 kB / 0.7904 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.1738, allocations: 12 kB / 0.7904 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.1739, allocations: 29.64 kB / 0.7905 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.1739, allocations: 45.7 kB / 0.7905 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1739, allocations: 3.938 kB / 0.7905 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.451e-05/0.174, allocations: 65.62 kB / 0.7906 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.174, allocations: 7.938 kB / 0.7906 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.174, allocations: 0 / 0.7906 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.1741, allocations: 7.938 kB / 0.7906 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.774e-05/0.1741, allocations: 8 kB / 0.7906 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1741, allocations: 3.984 kB / 0.7906 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.1741, allocations: 8.062 kB / 0.7906 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.1742, allocations: 4 kB / 0.7906 GB, free: 8.484 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 6.58e-05/0.1742, allocations: 110.5 kB / 0.7907 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.1742, allocations: 7.844 kB / 0.7907 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.1744, allocations: 73.64 kB / 0.7908 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1744, allocations: 4 kB / 0.7908 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1744, allocations: 0 / 0.7908 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1744, allocations: 0 / 0.7908 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.1745, allocations: 177.6 kB / 0.791 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1745, allocations: 0 / 0.791 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.1745, allocations: 4 kB / 0.791 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.1745, allocations: 3.938 kB / 0.791 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1746, allocations: 4 kB / 0.791 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1746, allocations: 0 / 0.791 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1746, allocations: 0 / 0.791 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.1747, allocations: 105 kB / 0.7911 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.1747, allocations: 89.05 kB / 0.7912 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.1748, allocations: 4 kB / 0.7912 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.871e-05/0.1748, allocations: 0 / 0.7912 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.1748, allocations: 4 kB / 0.7912 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1748, allocations: 0 / 0.7912 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.1749, allocations: 91.58 kB / 0.7913 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1749, allocations: 0 / 0.7913 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001906/0.1751, allocations: 16 kB / 0.7913 GB, free: 7.695 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.0003904/0.1755, allocations: 0.6632 MB / 0.7919 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.683e-05/0.1755, allocations: 27.92 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.1756, allocations: 0 / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.618e-05/0.1756, allocations: 19.94 kB / 0.792 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.1757, allocations: 7.938 kB / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1768, allocations: 1.248 MB / 0.7932 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.1771, allocations: 0.6848 MB / 0.7939 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.577e-05/0.1771, allocations: 7.984 kB / 0.7939 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.1771, allocations: 11.44 kB / 0.7939 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1771, allocations: 3.938 kB / 0.7939 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.843/2.02, allocations: 1.667 MB / 0.7955 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002538/2.02, allocations: 221.3 kB / 0.7957 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/3.818, allocations: 5.062 kB / 0.7957 GB, free: 3.121 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)