Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00116/0.00116, allocations: 194.1 kB / 16.14 MB, free: 6.703 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.643/1.643, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6114/0.6114, allocations: 95.48 MB / 364.8 MB, free: 10.13 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 68.38 kB / 444.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3441, allocations: 69.07 MB / 0.5017 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck): time 0.001662/0.3458, allocations: 0.6055 MB / 0.5023 GB, free: 17.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004523/0.3463, allocations: 162.6 kB / 0.5025 GB, free: 16.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.446e-06/0.3463, allocations: 3.938 kB / 0.5025 GB, free: 16.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.3463, allocations: 0 / 0.5025 GB, free: 16.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.3464, allocations: 0 / 0.5025 GB, free: 16.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.3467, allocations: 31.91 kB / 0.5025 GB, free: 16.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.289e-05/0.3467, allocations: 7.984 kB / 0.5025 GB, free: 16.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.3468, allocations: 4 kB / 0.5025 GB, free: 16.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.039e-05/0.3468, allocations: 7.938 kB / 0.5025 GB, free: 16.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.3468, allocations: 7.938 kB / 0.5025 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.3469, allocations: 0 / 0.5025 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.347, allocations: 43.95 kB / 0.5026 GB, free: 16.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.347, allocations: 11.97 kB / 0.5026 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.347, allocations: 0 / 0.5026 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3471, allocations: 35.84 kB / 0.5026 GB, free: 16.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3472, allocations: 4 kB / 0.5026 GB, free: 16.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.3472, allocations: 0 / 0.5026 GB, free: 16.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3472, allocations: 0 / 0.5026 GB, free: 16.71 MB / 382.1 MB 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.000266/0.3474, allocations: 323.6 kB / 0.5029 GB, free: 16.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3475, allocations: 15.98 kB / 0.5029 GB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.3475, allocations: 4.844 kB / 0.5029 GB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.482e-05/0.3476, allocations: 168.4 kB / 0.5031 GB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3476, allocations: 384 / 0.5031 GB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.3476, allocations: 7.938 kB / 0.5031 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.073e-05/0.3477, allocations: 33.7 kB / 0.5031 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.3477, allocations: 0 / 0.5031 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3477, allocations: 4 kB / 0.5031 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3478, allocations: 4 kB / 0.5031 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.263e-05/0.3478, allocations: 11.92 kB / 0.5032 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001118/0.3479, allocations: 145.7 kB / 0.5033 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.3479, allocations: 22.55 kB / 0.5033 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.348, allocations: 12.91 kB / 0.5033 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.348, allocations: 0 / 0.5033 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.348, allocations: 38.56 kB / 0.5034 GB, free: 15.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.348, allocations: 0 / 0.5034 GB, free: 15.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004711/0.3485, allocations: 248.4 kB / 0.5036 GB, free: 15.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.3485, allocations: 51.41 kB / 0.5036 GB, free: 15.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.086e-05/0.3486, allocations: 89.86 kB / 0.5037 GB, free: 15.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.3486, allocations: 25.7 kB / 0.5038 GB, free: 15.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.664e-05/0.3486, allocations: 84.36 kB / 0.5038 GB, free: 15.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.3486, allocations: 19.8 kB / 0.5039 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.3487, allocations: 17.66 kB / 0.5039 GB, free: 15.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.835e-05/0.3487, allocations: 318.8 kB / 0.5042 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.3487, allocations: 4 kB / 0.5042 GB, free: 14.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.059e-05/0.3488, allocations: 21.7 kB / 0.5042 GB, free: 14.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.906e-05/0.3488, allocations: 25.72 kB / 0.5042 GB, free: 14.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3488, allocations: 0 / 0.5042 GB, free: 14.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.531e-05/0.3489, allocations: 57.56 kB / 0.5043 GB, free: 14.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.3489, allocations: 8 kB / 0.5043 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3489, allocations: 0 / 0.5043 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.3489, allocations: 3.938 kB / 0.5043 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.349, allocations: 8 kB / 0.5043 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.349, allocations: 0 / 0.5043 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.349, allocations: 0 / 0.5043 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.3491, allocations: 12.05 kB / 0.5043 GB, free: 14.68 MB / 382.1 MB 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 5.081e-05/0.3491, allocations: 113.8 kB / 0.5044 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-06/0.3491, allocations: 0 / 0.5044 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.3493, allocations: 57.27 kB / 0.5045 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3493, allocations: 4.031 kB / 0.5045 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3493, allocations: 4 kB / 0.5045 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3493, allocations: 3.984 kB / 0.5045 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.78e-05/0.3494, allocations: 153.6 kB / 0.5046 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3494, allocations: 0 / 0.5046 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.3494, allocations: 7.984 kB / 0.5046 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3494, allocations: 0 / 0.5046 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.3494, allocations: 4 kB / 0.5046 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3494, allocations: 0 / 0.5046 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3494, allocations: 0 / 0.5046 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.3496, allocations: 85 kB / 0.5047 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.3496, allocations: 77.11 kB / 0.5048 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.3496, allocations: 7.984 kB / 0.5048 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.616e-05/0.3496, allocations: 0 / 0.5048 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.3497, allocations: 4.031 kB / 0.5048 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.3497, allocations: 4 kB / 0.5048 GB, free: 14.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.544e-05/0.3497, allocations: 75.28 kB / 0.5049 GB, free: 13.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3497, allocations: 0 / 0.5049 GB, free: 13.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002078/0.3499, allocations: 8 kB / 0.5049 GB, free: 13.98 MB / 382.1 MB 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.0001359/0.3501, allocations: 127.2 kB / 0.505 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.604e-05/0.3502, allocations: 15.94 kB / 0.505 GB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3502, allocations: 0 / 0.505 GB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.3502, allocations: 11.98 kB / 0.505 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.3503, allocations: 7.938 kB / 0.5051 GB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002091/0.3505, allocations: 107.5 kB / 0.5052 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.3507, allocations: 0.6811 MB / 0.5058 GB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.016e-05/0.3507, allocations: 4 kB / 0.5058 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.3507, allocations: 11.44 kB / 0.5058 GB, free: 12.95 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3508, allocations: 0 / 0.5058 GB, free: 12.95 MB / 382.1 MB Notification: Performance of Templates: time 0.002361/0.3531, allocations: 0.4964 MB / 0.5063 GB, free: 12.46 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe 2>&1)