Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001152/0.001152, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001194/0.001194, allocations: 188.4 kB / 16.13 MB, free: 6.652 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.584/1.584, allocations: 205.1 MB / 222 MB, free: 4.73 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.5693/0.5693, allocations: 95.47 MB / 364.8 MB, free: 10.09 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.001423/0.001423, allocations: 63.91 kB / 444.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3666, allocations: 69.07 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001849/0.3686, allocations: 0.577 MB / 0.5023 GB, free: 17.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006767/0.3692, allocations: 206.5 kB / 0.5025 GB, free: 16.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.348e-05/0.3693, allocations: 0 / 0.5025 GB, free: 16.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.138e-05/0.3693, allocations: 0 / 0.5025 GB, free: 16.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.924e-05/0.3694, allocations: 7.938 kB / 0.5025 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.3699, allocations: 39.92 kB / 0.5025 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.963e-05/0.3699, allocations: 11.94 kB / 0.5025 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.419e-05/0.37, allocations: 7.984 kB / 0.5025 GB, free: 16.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.327e-05/0.3701, allocations: 3.938 kB / 0.5025 GB, free: 16.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.3701, allocations: 4 kB / 0.5025 GB, free: 16.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3701, allocations: 4 kB / 0.5025 GB, free: 16.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.3704, allocations: 123.8 kB / 0.5026 GB, free: 16.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.3704, allocations: 7.922 kB / 0.5027 GB, free: 16.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.3705, allocations: 7.938 kB / 0.5027 GB, free: 16.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.3707, allocations: 71.83 kB / 0.5027 GB, free: 16.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.3707, allocations: 0 / 0.5027 GB, free: 16.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3707, allocations: 0 / 0.5027 GB, free: 16.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.3707, allocations: 0 / 0.5027 GB, free: 16.56 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.0004375/0.3711, allocations: 345.3 kB / 0.5031 GB, free: 16.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3712, allocations: 11.98 kB / 0.5031 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.3712, allocations: 8.938 kB / 0.5031 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.3714, allocations: 168.3 kB / 0.5032 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3714, allocations: 4.375 kB / 0.5032 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/0.3714, allocations: 8.266 kB / 0.5033 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.3716, allocations: 34.27 kB / 0.5033 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3716, allocations: 4.172 kB / 0.5033 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.3716, allocations: 7.938 kB / 0.5033 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3716, allocations: 3.938 kB / 0.5033 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.092e-05/0.3717, allocations: 11.98 kB / 0.5033 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.3719, allocations: 161.7 kB / 0.5035 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.789e-05/0.372, allocations: 26.55 kB / 0.5035 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.372, allocations: 12.91 kB / 0.5035 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-05/0.3721, allocations: 4 kB / 0.5035 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.3721, allocations: 38.56 kB / 0.5035 GB, free: 15.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.3721, allocations: 0 / 0.5035 GB, free: 15.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005602/0.3727, allocations: 298.2 kB / 0.5038 GB, free: 15.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.3727, allocations: 51.41 kB / 0.5039 GB, free: 15.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.3728, allocations: 109.8 kB / 0.504 GB, free: 15.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.3728, allocations: 25.7 kB / 0.504 GB, free: 15.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.33e-05/0.3728, allocations: 88.14 kB / 0.5041 GB, free: 14.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.3728, allocations: 3.906 kB / 0.5041 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.3729, allocations: 21.92 kB / 0.5041 GB, free: 14.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.3729, allocations: 318.8 kB / 0.5044 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.373, allocations: 15.98 kB / 0.5044 GB, free: 14.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-05/0.373, allocations: 25.59 kB / 0.5045 GB, free: 14.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.697e-05/0.373, allocations: 45.7 kB / 0.5045 GB, free: 14.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.3731, allocations: 0 / 0.5045 GB, free: 14.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.015e-05/0.3731, allocations: 73.53 kB / 0.5046 GB, free: 14.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.3732, allocations: 7.938 kB / 0.5046 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3732, allocations: 0 / 0.5046 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3732, allocations: 3.984 kB / 0.5046 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.3733, allocations: 8 kB / 0.5046 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3733, allocations: 0 / 0.5046 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.3733, allocations: 0 / 0.5046 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-06/0.3733, allocations: 4 kB / 0.5046 GB, free: 14.37 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 4.863e-05/0.3734, allocations: 109.8 kB / 0.5047 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.3734, allocations: 8 kB / 0.5047 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.3735, allocations: 73.52 kB / 0.5048 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3735, allocations: 4 kB / 0.5048 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3735, allocations: 0 / 0.5048 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3735, allocations: 3.984 kB / 0.5048 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.433e-05/0.3736, allocations: 161.7 kB / 0.5049 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3736, allocations: 4 kB / 0.5049 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.772e-05/0.3737, allocations: 4 kB / 0.5049 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3737, allocations: 3.938 kB / 0.5049 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.3737, allocations: 4 kB / 0.505 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3737, allocations: 7.984 kB / 0.505 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3737, allocations: 0 / 0.505 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.3738, allocations: 105 kB / 0.5051 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.3739, allocations: 85.31 kB / 0.5051 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.3739, allocations: 3.938 kB / 0.5051 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.533e-05/0.3739, allocations: 0 / 0.5051 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.3739, allocations: 7.969 kB / 0.5052 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.374, allocations: 12.06 kB / 0.5052 GB, free: 13.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.851e-05/0.374, allocations: 83.28 kB / 0.5052 GB, free: 13.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.374, allocations: 0 / 0.5052 GB, free: 13.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002097/0.3742, allocations: 27.98 kB / 0.5053 GB, free: 13.57 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.0001543/0.3744, allocations: 115.2 kB / 0.5054 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.836e-05/0.3745, allocations: 31.86 kB / 0.5054 GB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3745, allocations: 4 kB / 0.5054 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.619e-05/0.3745, allocations: 12.12 kB / 0.5054 GB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.3747, allocations: 8 kB / 0.5054 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.3749, allocations: 139.5 kB / 0.5056 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.3751, allocations: 0.6848 MB / 0.5062 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.694e-05/0.3751, allocations: 4.547 kB / 0.5062 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.435e-05/0.3751, allocations: 7.438 kB / 0.5062 GB, free: 12.51 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3751, allocations: 0 / 0.5062 GB, free: 12.51 MB / 382.1 MB Notification: Performance of Templates: time 0.002778/0.3779, allocations: 0.8786 MB / 0.5071 GB, free: 11.63 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)