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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.678/1.678, allocations: 292.3 MB / 308.1 MB, free: 4.324 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.001374/0.001374, allocations: 194.4 kB / 376.9 MB, free: 1.824 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.534/1.534, allocations: 205 MB / 0.6354 GB, free: 9.82 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 94.92 kB / 0.748 GB, free: 61.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 47.92 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3004, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002571/0.3031, allocations: 0.587 MB / 0.9828 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006845/0.3038, allocations: 207.3 kB / 0.983 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.3038, allocations: 0 / 0.983 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.607e-05/0.3039, allocations: 0 / 0.983 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.277e-05/0.304, allocations: 3.938 kB / 0.983 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.3045, allocations: 47.92 kB / 0.983 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.069e-05/0.3046, allocations: 7.938 kB / 0.983 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.916e-05/0.3046, allocations: 12 kB / 0.9831 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.3047, allocations: 7.984 kB / 0.9831 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.754e-05/0.3047, allocations: 3.938 kB / 0.9831 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3047, allocations: 0 / 0.9831 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.305, allocations: 119.8 kB / 0.9832 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.3051, allocations: 11.98 kB / 0.9832 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.3051, allocations: 3.938 kB / 0.9832 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.3053, allocations: 67.83 kB / 0.9833 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3053, allocations: 0 / 0.9833 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3053, allocations: 3.938 kB / 0.9833 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3053, allocations: 0 / 0.9833 GB, free: 9.34 MB / 0.7136 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.0004562/0.3058, allocations: 343.7 kB / 0.9836 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3059, allocations: 12.03 kB / 0.9836 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.3059, allocations: 12.78 kB / 0.9836 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.3061, allocations: 168.4 kB / 0.9838 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3061, allocations: 384 / 0.9838 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.3061, allocations: 4.359 kB / 0.9838 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.3063, allocations: 38.25 kB / 0.9838 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3063, allocations: 192 / 0.9838 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.3063, allocations: 7.938 kB / 0.9838 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3063, allocations: 0 / 0.9838 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.73e-05/0.3064, allocations: 11.98 kB / 0.9838 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.3066, allocations: 165.7 kB / 0.984 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.502e-05/0.3067, allocations: 22.52 kB / 0.984 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.3067, allocations: 12.92 kB / 0.984 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.958e-05/0.3068, allocations: 11.92 kB / 0.984 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3068, allocations: 38.56 kB / 0.9841 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3068, allocations: 0 / 0.9841 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0006831/0.3075, allocations: 306.1 kB / 0.9844 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.3076, allocations: 51.41 kB / 0.9844 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.44e-05/0.3077, allocations: 105.8 kB / 0.9845 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.3077, allocations: 25.7 kB / 0.9845 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.3077, allocations: 92.36 kB / 0.9846 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.3078, allocations: 7.844 kB / 0.9846 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.3078, allocations: 21.7 kB / 0.9847 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3079, allocations: 314.8 kB / 0.985 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.308, allocations: 15.94 kB / 0.985 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.451e-05/0.308, allocations: 25.7 kB / 0.985 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.961e-05/0.3081, allocations: 41.7 kB / 0.985 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3081, allocations: 0 / 0.985 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001061/0.3082, allocations: 73.53 kB / 0.9851 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3082, allocations: 7.938 kB / 0.9851 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3082, allocations: 0 / 0.9851 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3083, allocations: 4 kB / 0.9851 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.966e-05/0.3083, allocations: 7.984 kB / 0.9851 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3084, allocations: 0 / 0.9851 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.3084, allocations: 4 kB / 0.9851 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.3084, allocations: 4.062 kB / 0.9851 GB, free: 7.141 MB / 0.7136 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 8.642e-05/0.3085, allocations: 109.8 kB / 0.9852 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.3085, allocations: 3.938 kB / 0.9852 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.3087, allocations: 77.52 kB / 0.9853 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3087, allocations: 0 / 0.9853 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3087, allocations: 0 / 0.9853 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3087, allocations: 0 / 0.9853 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.3088, allocations: 165.7 kB / 0.9855 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3088, allocations: 3.938 kB / 0.9855 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/0.3089, allocations: 8 kB / 0.9855 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.3089, allocations: 7.938 kB / 0.9855 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3089, allocations: 0 / 0.9855 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3089, allocations: 4.25 kB / 0.9855 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3089, allocations: 0 / 0.9855 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.3104, allocations: 1.115 MB / 0.9866 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.3104, allocations: 89.03 kB / 0.9867 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-06/0.3105, allocations: 3.938 kB / 0.9867 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.846e-05/0.3105, allocations: 4.094 kB / 0.9867 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.3105, allocations: 0 / 0.9867 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.3105, allocations: 4 kB / 0.9867 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.042e-05/0.3106, allocations: 95.2 kB / 0.9868 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3106, allocations: 0 / 0.9868 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002833/0.3109, allocations: 16 kB / 0.9868 GB, free: 5.188 MB / 0.7136 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.0002085/0.3111, allocations: 119.2 kB / 0.9869 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.824e-05/0.3112, allocations: 31.98 kB / 0.9869 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3112, allocations: 4.125 kB / 0.9869 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.541e-05/0.3113, allocations: 19.92 kB / 0.987 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.3114, allocations: 7.938 kB / 0.987 GB, free: 5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.3118, allocations: 246.1 kB / 0.9872 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.3121, allocations: 0.6886 MB / 0.9879 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.3121, allocations: 4 kB / 0.9879 GB, free: 4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.479e-05/0.3121, allocations: 15.44 kB / 0.9879 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.3121, allocations: 0 / 0.9879 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of Templates: time 0.003531/0.3157, allocations: 0.8906 MB / 0.9888 GB, free: 3.094 MB / 0.7136 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)