Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.708/1.708, allocations: 287.5 MB / 302.6 MB, free: 8.266 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.001075/0.001075, allocations: 180.9 kB / 371.2 MB, free: 10.81 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.685/1.685, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0009029/0.0009028, allocations: 100.2 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004217, allocations: 15.11 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2617, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0006955/0.2624, allocations: 266 kB / 0.9789 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005081/0.263, allocations: 175.6 kB / 0.9791 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.263, allocations: 4 kB / 0.9791 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.2631, allocations: 0 / 0.9791 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/0.2631, allocations: 0 / 0.9791 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.2636, allocations: 43.88 kB / 0.9791 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.98e-05/0.2636, allocations: 11.98 kB / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.2637, allocations: 0 / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.657e-05/0.2637, allocations: 4 kB / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.2638, allocations: 15.92 kB / 0.9792 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.2638, allocations: 0 / 0.9792 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.264, allocations: 123.8 kB / 0.9793 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.2641, allocations: 3.938 kB / 0.9793 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.2641, allocations: 29.7 kB / 0.9793 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.2642, allocations: 47.86 kB / 0.9794 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.2643, allocations: 0 / 0.9794 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2643, allocations: 0 / 0.9794 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2643, allocations: 0 / 0.9794 GB, free: 27.46 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.0003277/0.2646, allocations: 339.7 kB / 0.9797 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2647, allocations: 12.03 kB / 0.9797 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.2647, allocations: 4.922 kB / 0.9797 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.2648, allocations: 168.3 kB / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.2648, allocations: 384 / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.2649, allocations: 384 / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.265, allocations: 42.25 kB / 0.9799 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.265, allocations: 192 / 0.9799 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.265, allocations: 3.938 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.265, allocations: 7.938 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.954e-05/0.2651, allocations: 12 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.2653, allocations: 157.7 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.876e-05/0.2653, allocations: 26.56 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.848e-05/0.2654, allocations: 8.922 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.2654, allocations: 8 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.2654, allocations: 30.56 kB / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.873e-06/0.2655, allocations: 4 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005585/0.266, allocations: 302.2 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.2661, allocations: 55.34 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/0.2661, allocations: 105.8 kB / 0.9806 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/0.2661, allocations: 29.7 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.624e-05/0.2662, allocations: 88.12 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.2662, allocations: 15.75 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.2662, allocations: 4.219 kB / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.358e-05/0.2663, allocations: 314.8 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.2663, allocations: 15.98 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.787e-05/0.2663, allocations: 25.66 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/0.2664, allocations: 37.7 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.2664, allocations: 0 / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.676e-05/0.2665, allocations: 73.61 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2665, allocations: 7.938 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2665, allocations: 0 / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.2665, allocations: 4 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.2666, allocations: 4 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2666, allocations: 0 / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.2667, allocations: 11.94 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.2667, allocations: 3.938 kB / 0.9812 GB, free: 25.3 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.934e-05/0.2667, allocations: 113.9 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.2668, allocations: 11.83 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.2669, allocations: 73.58 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2669, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2669, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2669, allocations: 192 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.773e-05/0.267, allocations: 161.7 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.267, allocations: 0 / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.2671, allocations: 4 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.2671, allocations: 11.91 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.2671, allocations: 8 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2671, allocations: 3.938 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2671, allocations: 320 / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.2673, allocations: 97.11 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.2673, allocations: 89.05 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.2673, allocations: 3.938 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/0.2674, allocations: 0 / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.2674, allocations: 7.984 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.2674, allocations: 4.062 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.948e-05/0.2674, allocations: 91.27 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2675, allocations: 0 / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002615/0.2677, allocations: 19.98 kB / 0.9819 GB, free: 24.51 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.0001729/0.2679, allocations: 119.2 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.686e-05/0.268, allocations: 31.86 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.268, allocations: 0 / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/0.268, allocations: 12.12 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.2682, allocations: 19.92 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.2685, allocations: 128.7 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.2686, allocations: 0.677 MB / 0.9828 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.2687, allocations: 4 kB / 0.9828 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/0.2687, allocations: 15.42 kB / 0.9829 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of SimCode: time 1.443e-06/0.2687, allocations: 0 / 0.9829 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of Templates: time 0.003081/0.2718, allocations: 0.8718 MB / 0.9837 GB, free: 22.57 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)