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.0007821/0.0007819, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005319/0.005319, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.547/1.547, 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.784/1.784, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005099/0.0005099, allocations: 13.44 kB / 0.6743 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.276, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0007774/0.2769, allocations: 266 kB / 0.7881 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006253/0.2775, allocations: 195.4 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.929e-05/0.2776, allocations: 0 / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.2776, allocations: 0 / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.723e-05/0.2777, allocations: 0 / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.2781, allocations: 55.86 kB / 0.7884 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.28e-05/0.2782, allocations: 12 kB / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.568e-05/0.2782, allocations: 3.984 kB / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.8e-05/0.2783, allocations: 11.92 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.69e-05/0.2783, allocations: 4 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.2783, allocations: 0 / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.2786, allocations: 123.8 kB / 0.7885 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.2787, allocations: 11.92 kB / 0.7885 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.2787, allocations: 33.64 kB / 0.7885 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.2789, allocations: 63.89 kB / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2789, allocations: 0 / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2789, allocations: 7.938 kB / 0.7886 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2789, allocations: 0 / 0.7886 GB, free: 10.81 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.0004152/0.2794, allocations: 331.7 kB / 0.7889 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2794, allocations: 8.031 kB / 0.7889 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.2795, allocations: 4.938 kB / 0.7889 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.2796, allocations: 164.3 kB / 0.7891 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2796, allocations: 4.375 kB / 0.7891 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.2797, allocations: 8.359 kB / 0.7891 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.2798, allocations: 46.19 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2798, allocations: 192 / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.2798, allocations: 3.938 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2799, allocations: 0 / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.016e-05/0.2799, allocations: 11.98 kB / 0.7892 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.2801, allocations: 161.6 kB / 0.7893 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.086e-05/0.2802, allocations: 26.58 kB / 0.7894 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.088e-05/0.2802, allocations: 8.922 kB / 0.7894 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.2803, allocations: 11.98 kB / 0.7894 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.2803, allocations: 38.5 kB / 0.7894 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.2803, allocations: 0 / 0.7894 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0007006/0.281, allocations: 298.2 kB / 0.7897 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.2811, allocations: 51.41 kB / 0.7897 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.149e-05/0.2811, allocations: 114.1 kB / 0.7899 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.2812, allocations: 25.7 kB / 0.7899 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.2812, allocations: 84.14 kB / 0.79 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.2813, allocations: 19.73 kB / 0.79 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.2813, allocations: 9.719 kB / 0.79 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2814, allocations: 322.8 kB / 0.7903 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.2815, allocations: 8 kB / 0.7903 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.606e-05/0.2815, allocations: 29.7 kB / 0.7903 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.125e-05/0.2816, allocations: 45.64 kB / 0.7904 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2816, allocations: 0 / 0.7904 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001104/0.2817, allocations: 61.69 kB / 0.7904 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.2817, allocations: 11.88 kB / 0.7904 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2818, allocations: 0 / 0.7904 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2818, allocations: 4 kB / 0.7904 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.2818, allocations: 7.938 kB / 0.7905 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.2819, allocations: 3.984 kB / 0.7905 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.2819, allocations: 8.062 kB / 0.7905 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2819, allocations: 0 / 0.7905 GB, free: 8.633 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 0.0001387/0.282, allocations: 113.8 kB / 0.7906 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.2821, allocations: 7.844 kB / 0.7906 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.2822, allocations: 69.58 kB / 0.7906 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2822, allocations: 0 / 0.7906 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2822, allocations: 4 kB / 0.7907 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2823, allocations: 0 / 0.7907 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.2824, allocations: 169.7 kB / 0.7908 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2824, allocations: 0 / 0.7908 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.2825, allocations: 7.938 kB / 0.7908 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.2825, allocations: 7.938 kB / 0.7908 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.2825, allocations: 4 kB / 0.7908 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2825, allocations: 0 / 0.7908 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2825, allocations: 0 / 0.7908 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.2827, allocations: 105.3 kB / 0.7909 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.2827, allocations: 89.06 kB / 0.791 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.2827, allocations: 3.938 kB / 0.791 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.985e-05/0.2828, allocations: 3.938 kB / 0.791 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.2828, allocations: 4.031 kB / 0.791 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2828, allocations: 0 / 0.791 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.674e-05/0.2829, allocations: 95.56 kB / 0.7911 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2829, allocations: 0 / 0.7911 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002314/0.2831, allocations: 20 kB / 0.7911 GB, free: 7.832 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.0001921/0.2833, allocations: 119.2 kB / 0.7913 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.745e-05/0.2834, allocations: 31.98 kB / 0.7913 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2834, allocations: 0 / 0.7913 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.109e-05/0.2835, allocations: 15.98 kB / 0.7913 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.2837, allocations: 13.69 kB / 0.7913 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.284, allocations: 140.6 kB / 0.7914 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.2843, allocations: 0.6849 MB / 0.7921 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.487e-05/0.2844, allocations: 8 kB / 0.7921 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.613e-05/0.2844, allocations: 11.44 kB / 0.7921 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2844, allocations: 0 / 0.7921 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of Templates: time 0.003815/0.2882, allocations: 0.864 MB / 0.793 GB, free: 5.895 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: