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: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.659/1.659, allocations: 288.4 MB / 303.4 MB, free: 8.102 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.001159/0.001159, allocations: 180.5 kB / 372 MB, free: 10.27 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.849/1.849, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0007698/0.0007699, allocations: 98.23 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004106, allocations: 11.22 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2282, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0006908/0.2289, allocations: 254.2 kB / 0.9798 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004492/0.2294, allocations: 183.6 kB / 0.98 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.2295, allocations: 0 / 0.98 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.2295, allocations: 0 / 0.98 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.2296, allocations: 0 / 0.98 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.2299, allocations: 47.88 kB / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.544e-05/0.23, allocations: 7.984 kB / 0.9801 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.813e-05/0.2301, allocations: 8 kB / 0.9801 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.775e-05/0.2301, allocations: 7.938 kB / 0.9801 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.701e-05/0.2302, allocations: 7.984 kB / 0.9801 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.2302, allocations: 0 / 0.9801 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.2304, allocations: 119.8 kB / 0.9802 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.387e-05/0.2304, allocations: 11.94 kB / 0.9802 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.2305, allocations: 25.7 kB / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.2306, allocations: 43.92 kB / 0.9803 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2306, allocations: 4 kB / 0.9803 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2306, allocations: 0 / 0.9803 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2306, allocations: 0 / 0.9803 GB, free: 26.97 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.0002816/0.2309, allocations: 335.5 kB / 0.9806 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.231, allocations: 8.031 kB / 0.9806 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.231, allocations: 7.938 kB / 0.9806 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.989e-05/0.2311, allocations: 170.9 kB / 0.9808 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.2311, allocations: 7.938 kB / 0.9808 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.2312, allocations: 4 kB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.2313, allocations: 33.69 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2313, allocations: 4 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2313, allocations: 4 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.2313, allocations: 0 / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.579e-05/0.2313, allocations: 8 kB / 0.9808 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.2315, allocations: 161.7 kB / 0.981 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.211e-05/0.2315, allocations: 34.5 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.2316, allocations: 8.922 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.2316, allocations: 4 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.2316, allocations: 34.56 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2317, allocations: 0 / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005162/0.2322, allocations: 298.3 kB / 0.9813 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.2322, allocations: 51.41 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.08e-05/0.2323, allocations: 109.8 kB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.2323, allocations: 25.7 kB / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.2323, allocations: 92.34 kB / 0.9816 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.2324, allocations: 7.844 kB / 0.9816 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.2324, allocations: 4 kB / 0.9816 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.165e-05/0.2324, allocations: 318.8 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.2324, allocations: 11.98 kB / 0.9819 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/0.2325, allocations: 25.72 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/0.2325, allocations: 15.98 kB / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2325, allocations: 11.89 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.314e-05/0.2326, allocations: 65.59 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2326, allocations: 4 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2326, allocations: 0 / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2327, allocations: 0 / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.2327, allocations: 8 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2327, allocations: 7.922 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.2328, allocations: 4 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.2328, allocations: 4 kB / 0.9821 GB, free: 24.85 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 5.424e-05/0.2328, allocations: 109.9 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.2328, allocations: 7.953 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.233, allocations: 69.58 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.233, allocations: 0 / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.233, allocations: 4 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.233, allocations: 0 / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.547e-05/0.2331, allocations: 173.6 kB / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2331, allocations: 3.938 kB / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.777e-05/0.2332, allocations: 7.953 kB / 0.9824 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.2332, allocations: 4.188 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.2332, allocations: 3.938 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2332, allocations: 320 / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2332, allocations: 4 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.2333, allocations: 109 kB / 0.9826 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.2334, allocations: 77.11 kB / 0.9826 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.2334, allocations: 7.984 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.894e-05/0.2334, allocations: 0 / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.2335, allocations: 4.062 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.2335, allocations: 4 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.098e-05/0.2335, allocations: 91.25 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2335, allocations: 0 / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002129/0.2337, allocations: 16 kB / 0.9827 GB, free: 24.07 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.0001529/0.2339, allocations: 123.2 kB / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.087e-05/0.234, allocations: 31.92 kB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.234, allocations: 4.125 kB / 0.9829 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.742e-05/0.234, allocations: 15.98 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.2342, allocations: 8 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000243/0.2345, allocations: 136.6 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.2346, allocations: 0.677 MB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.66e-05/0.2346, allocations: 4 kB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.527e-05/0.2346, allocations: 15.38 kB / 0.9837 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.2346, allocations: 4 kB / 0.9837 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.002962/0.2376, allocations: 0.8592 MB / 0.9846 GB, free: 22.14 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)