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.0009985/0.0009986, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.001048/0.001048, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 222.1 MB, free: 5.902 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.584/0.584, allocations: 95.58 MB / 366 MB, free: 10.47 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.0005223/0.0005224, allocations: 16 kB / 446.8 MB, free: 9.477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3008, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck): time 0.0005441/0.3014, allocations: 269.7 kB / 0.5053 GB, free: 16.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003112/0.3017, allocations: 149.4 kB / 0.5054 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.338e-06/0.3017, allocations: 0 / 0.5054 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.291e-05/0.3017, allocations: 0 / 0.5054 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.288e-06/0.3018, allocations: 0 / 0.5054 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.3021, allocations: 27.97 kB / 0.5054 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.292e-05/0.3021, allocations: 4 kB / 0.5054 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.3022, allocations: 7.984 kB / 0.5054 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.592e-05/0.3022, allocations: 0 / 0.5054 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.3022, allocations: 7.938 kB / 0.5054 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.255e-06/0.3022, allocations: 0 / 0.5054 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3023, allocations: 47.94 kB / 0.5055 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-06/0.3024, allocations: 0 / 0.5055 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.694e-05/0.3024, allocations: 25.7 kB / 0.5055 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.042e-05/0.3025, allocations: 23.91 kB / 0.5055 GB, free: 15.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.3025, allocations: 0 / 0.5055 GB, free: 15.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3025, allocations: 0 / 0.5055 GB, free: 15.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.3025, allocations: 4 kB / 0.5055 GB, free: 15.96 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.0002003/0.3027, allocations: 319.4 kB / 0.5059 GB, free: 15.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.3027, allocations: 15.92 kB / 0.5059 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.3028, allocations: 11.89 kB / 0.5059 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.561e-05/0.3028, allocations: 159.1 kB / 0.506 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3028, allocations: 3.938 kB / 0.506 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.3029, allocations: 0 / 0.506 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.407e-05/0.3029, allocations: 41.64 kB / 0.5061 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.303, allocations: 4 kB / 0.5061 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.303, allocations: 0 / 0.5061 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.303, allocations: 4 kB / 0.5061 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.303, allocations: 0 / 0.5061 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.747e-05/0.3031, allocations: 149.7 kB / 0.5062 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.762e-05/0.3031, allocations: 26.55 kB / 0.5062 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.3032, allocations: 0 / 0.5062 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.3032, allocations: 38.62 kB / 0.5063 GB, free: 15.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.3032, allocations: 0 / 0.5063 GB, free: 15.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004039/0.3036, allocations: 256.3 kB / 0.5065 GB, free: 14.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.3036, allocations: 51.41 kB / 0.5066 GB, free: 14.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.588e-05/0.3037, allocations: 89.86 kB / 0.5067 GB, free: 14.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.3037, allocations: 25.7 kB / 0.5067 GB, free: 14.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.225e-05/0.3037, allocations: 80.36 kB / 0.5068 GB, free: 14.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.3037, allocations: 15.81 kB / 0.5068 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.3037, allocations: 4 kB / 0.5068 GB, free: 14.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.3038, allocations: 310.8 kB / 0.5071 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.3038, allocations: 7.984 kB / 0.5071 GB, free: 14.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.3038, allocations: 17.72 kB / 0.5071 GB, free: 14.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.1e-05/0.3038, allocations: 4 kB / 0.5071 GB, free: 14.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3038, allocations: 0 / 0.5071 GB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.5e-05/0.3039, allocations: 61.56 kB / 0.5072 GB, free: 14.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3039, allocations: 4 kB / 0.5072 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3039, allocations: 4 kB / 0.5072 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.304, allocations: 7.953 kB / 0.5072 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.77e-05/0.304, allocations: 4 kB / 0.5072 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.304, allocations: 0 / 0.5072 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.3041, allocations: 11.98 kB / 0.5072 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.3041, allocations: 0 / 0.5072 GB, free: 14.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.3041, allocations: 117.8 kB / 0.5073 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.3041, allocations: 0 / 0.5073 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.3043, allocations: 53.19 kB / 0.5074 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3043, allocations: 7.953 kB / 0.5074 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3043, allocations: 3.984 kB / 0.5074 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.3043, allocations: 4 kB / 0.5074 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.423e-05/0.3043, allocations: 145.7 kB / 0.5075 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3043, allocations: 7.938 kB / 0.5075 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.3044, allocations: 7.984 kB / 0.5075 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3044, allocations: 0 / 0.5075 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.3044, allocations: 0 / 0.5075 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3044, allocations: 0 / 0.5075 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3044, allocations: 3.953 kB / 0.5075 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.087e-05/0.3045, allocations: 81.23 kB / 0.5076 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.3045, allocations: 89.19 kB / 0.5077 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.3046, allocations: 0 / 0.5077 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.24e-05/0.3046, allocations: 0 / 0.5077 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.3046, allocations: 0 / 0.5077 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.3046, allocations: 11.95 kB / 0.5077 GB, free: 13.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.002e-05/0.3047, allocations: 75.28 kB / 0.5078 GB, free: 13.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3047, allocations: 0 / 0.5078 GB, free: 13.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001964/0.3049, allocations: 16 kB / 0.5078 GB, free: 13.29 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 (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.0001121/0.305, allocations: 115.2 kB / 0.5079 GB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.608e-05/0.3051, allocations: 15.94 kB / 0.5079 GB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3051, allocations: 4 kB / 0.5079 GB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/0.3051, allocations: 7.984 kB / 0.5079 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.934e-05/0.3052, allocations: 3.938 kB / 0.5079 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001669/0.3054, allocations: 104.7 kB / 0.508 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.979e-05/0.3055, allocations: 0.677 MB / 0.5087 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.964e-05/0.3055, allocations: 8.125 kB / 0.5087 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.3055, allocations: 11.44 kB / 0.5087 GB, free: 12.28 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3055, allocations: 0 / 0.5087 GB, free: 12.28 MB / 382.1 MB Notification: Performance of Templates: time 0.002133/0.3077, allocations: 499.5 kB / 0.5092 GB, free: 11.79 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: