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: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001057, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001077/0.001077, allocations: 184 kB / 17.22 MB, free: 5.934 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.479/1.479, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.818/1.818, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001997/0.001997, allocations: 71.91 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2782, allocations: 114.6 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001931/0.2802, allocations: 0.5263 MB / 0.7846 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005384/0.2808, allocations: 191.4 kB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.145e-05/0.2808, allocations: 0 / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.2808, allocations: 0 / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.754e-05/0.2809, allocations: 4 kB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.2813, allocations: 59.78 kB / 0.7848 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.2814, allocations: 15.94 kB / 0.7848 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.2814, allocations: 0 / 0.7848 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.612e-05/0.2815, allocations: 11.97 kB / 0.7848 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.308e-05/0.2815, allocations: 4 kB / 0.7849 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.2815, allocations: 4 kB / 0.7849 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.2817, allocations: 135.8 kB / 0.785 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.2818, allocations: 3.938 kB / 0.785 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.2818, allocations: 11.92 kB / 0.785 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.282, allocations: 63.84 kB / 0.7851 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.282, allocations: 0 / 0.7851 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.263e-06/0.282, allocations: 0 / 0.7851 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.282, allocations: 3.984 kB / 0.7851 GB, free: 2.812 MB / 0.6544 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.0003892/0.2824, allocations: 339.7 kB / 0.7854 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2825, allocations: 16.03 kB / 0.7854 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.2825, allocations: 0.9375 kB / 0.7854 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.2827, allocations: 168.3 kB / 0.7856 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2827, allocations: 384 / 0.7856 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.2827, allocations: 4.312 kB / 0.7856 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.2828, allocations: 42.25 kB / 0.7856 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2828, allocations: 4.125 kB / 0.7856 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2829, allocations: 3.938 kB / 0.7856 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2829, allocations: 0 / 0.7856 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.2829, allocations: 12 kB / 0.7856 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.2831, allocations: 165.7 kB / 0.7858 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.195e-05/0.2832, allocations: 18.58 kB / 0.7858 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.2832, allocations: 20.86 kB / 0.7858 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.566e-05/0.2832, allocations: 7.984 kB / 0.7858 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.2833, allocations: 30.56 kB / 0.7859 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.2833, allocations: 4 kB / 0.7859 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.000613/0.2839, allocations: 298.2 kB / 0.7862 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.2839, allocations: 55.41 kB / 0.7862 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.2841, allocations: 105.8 kB / 0.7863 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.2841, allocations: 29.7 kB / 0.7863 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.2841, allocations: 80.14 kB / 0.7864 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.2842, allocations: 19.95 kB / 0.7864 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.2842, allocations: 17.72 kB / 0.7864 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2843, allocations: 326.8 kB / 0.7868 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.2844, allocations: 8 kB / 0.7868 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.458e-05/0.2844, allocations: 29.7 kB / 0.7868 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.933e-05/0.2845, allocations: 41.64 kB / 0.7868 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2845, allocations: 8 kB / 0.7868 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001114/0.2846, allocations: 61.69 kB / 0.7869 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2846, allocations: 11.88 kB / 0.7869 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2846, allocations: 4 kB / 0.7869 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2846, allocations: 0 / 0.7869 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.2847, allocations: 4 kB / 0.7869 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2847, allocations: 0 / 0.7869 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.2848, allocations: 7.984 kB / 0.7869 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.2848, allocations: 0 / 0.7869 GB, free: 0.625 MB / 0.6544 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 9.103e-05/0.2849, allocations: 117.9 kB / 0.787 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.2849, allocations: 7.844 kB / 0.787 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.285, allocations: 73.66 kB / 0.7871 GB, free: 420 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.285, allocations: 48 / 0.7871 GB, free: 420 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.285, allocations: 3.984 kB / 0.7871 GB, free: 416 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.285, allocations: 0 / 0.7871 GB, free: 416 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.2852, allocations: 165.7 kB / 0.7873 GB, free: 200 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2852, allocations: 0 / 0.7873 GB, free: 200 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.747e-05/0.2852, allocations: 4 kB / 0.7873 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.2853, allocations: 11.94 kB / 0.7873 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.2853, allocations: 0 / 0.7873 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2853, allocations: 0 / 0.7873 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2853, allocations: 3.938 kB / 0.7873 GB, free: 180 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.2854, allocations: 101.1 kB / 0.7874 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3577/0.6432, allocations: 86.22 kB / 0.7875 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.6433, allocations: 3.75 kB / 0.7875 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.591e-05/0.6433, allocations: 0 / 0.7875 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.6434, allocations: 1.875 kB / 0.7875 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.6434, allocations: 4.562 kB / 0.7875 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.495e-05/0.6434, allocations: 86.48 kB / 0.7876 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.6435, allocations: 0 / 0.7876 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002873/0.6437, allocations: 22.28 kB / 0.7876 GB, free: 48.97 MB / 0.6544 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.0001859/0.6439, allocations: 117.8 kB / 0.7877 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.6441, allocations: 37.16 kB / 0.7877 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6441, allocations: 0 / 0.7877 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-05/0.6441, allocations: 21.28 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.6443, allocations: 3.406 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.6446, allocations: 120.8 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.6447, allocations: 0.682 MB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.6447, allocations: 9.688 kB / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.6448, allocations: 8.875 kB / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.6448, allocations: 0 / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.002882/0.6476, allocations: 0.8909 MB / 0.7894 GB, free: 48.09 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (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 & ./Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)