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.0009887/0.000989, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001182/0.001182, allocations: 172.7 kB / 15.95 MB, free: 208 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.975/1.975, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.6559/0.6559, allocations: 95.62 MB / 366 MB, free: 10.38 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.0006189/0.0006192, allocations: 23.98 kB / 446.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.42, allocations: 70.34 MB / 0.5051 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck): time 0.0007131/0.4208, allocations: 277 kB / 0.5053 GB, free: 16.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000413/0.4212, allocations: 146.7 kB / 0.5055 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.414e-05/0.4212, allocations: 0 / 0.5055 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.4213, allocations: 3.938 kB / 0.5055 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.4213, allocations: 0 / 0.5055 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.4216, allocations: 27.98 kB / 0.5055 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.611e-05/0.4217, allocations: 4 kB / 0.5055 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.175e-05/0.4218, allocations: 4 kB / 0.5055 GB, free: 16.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.4218, allocations: 7.984 kB / 0.5055 GB, free: 16.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.4218, allocations: 15.92 kB / 0.5055 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.4219, allocations: 0 / 0.5055 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.422, allocations: 39.95 kB / 0.5056 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.327e-06/0.422, allocations: 0 / 0.5056 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.422, allocations: 29.64 kB / 0.5056 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.73e-05/0.4221, allocations: 27.95 kB / 0.5056 GB, free: 15.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.4221, allocations: 0 / 0.5056 GB, free: 15.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4221, allocations: 0 / 0.5056 GB, free: 15.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.4221, allocations: 0 / 0.5056 GB, free: 15.92 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.0002659/0.4224, allocations: 323.4 kB / 0.5059 GB, free: 15.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.4225, allocations: 11.98 kB / 0.506 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.4225, allocations: 7.906 kB / 0.506 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.1e-05/0.4226, allocations: 159.1 kB / 0.5061 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.4226, allocations: 0 / 0.5061 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.4226, allocations: 3.938 kB / 0.5061 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.4227, allocations: 41.64 kB / 0.5062 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.4228, allocations: 0 / 0.5062 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.4228, allocations: 0 / 0.5062 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4228, allocations: 8 kB / 0.5062 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.368e-05/0.4228, allocations: 3.938 kB / 0.5062 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.4229, allocations: 153.7 kB / 0.5063 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.118e-05/0.423, allocations: 18.61 kB / 0.5063 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.423, allocations: 4.859 kB / 0.5063 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.4231, allocations: 4.062 kB / 0.5063 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.4231, allocations: 46.5 kB / 0.5064 GB, free: 14.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.4231, allocations: 0 / 0.5064 GB, free: 14.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005619/0.4237, allocations: 248.3 kB / 0.5066 GB, free: 14.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.4237, allocations: 55.39 kB / 0.5067 GB, free: 14.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.082e-05/0.4238, allocations: 93.86 kB / 0.5068 GB, free: 14.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.4238, allocations: 29.7 kB / 0.5068 GB, free: 14.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.316e-05/0.4238, allocations: 80.36 kB / 0.5069 GB, free: 14.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.4238, allocations: 11.81 kB / 0.5069 GB, free: 14.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.4239, allocations: 3.938 kB / 0.5069 GB, free: 14.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.181e-05/0.4239, allocations: 310.8 kB / 0.5072 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.4239, allocations: 8 kB / 0.5072 GB, free: 14.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.664e-05/0.424, allocations: 17.7 kB / 0.5072 GB, free: 14.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.485e-05/0.424, allocations: 12 kB / 0.5072 GB, free: 14.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.424, allocations: 0 / 0.5072 GB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.768e-05/0.4241, allocations: 57.62 kB / 0.5073 GB, free: 13.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.4241, allocations: 4 kB / 0.5073 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.4241, allocations: 3.953 kB / 0.5073 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4241, allocations: 0 / 0.5073 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.821e-05/0.4242, allocations: 8 kB / 0.5073 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.4242, allocations: 0 / 0.5073 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.4242, allocations: 0 / 0.5073 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.4243, allocations: 4 kB / 0.5073 GB, free: 13.95 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 6.219e-05/0.4243, allocations: 117.9 kB / 0.5074 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.4244, allocations: 4 kB / 0.5074 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.4245, allocations: 57.11 kB / 0.5075 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4245, allocations: 3.953 kB / 0.5075 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4245, allocations: 0 / 0.5075 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4245, allocations: 0 / 0.5075 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.545e-05/0.4246, allocations: 157.7 kB / 0.5076 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.4246, allocations: 0 / 0.5076 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.4247, allocations: 7.984 kB / 0.5076 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4247, allocations: 4 kB / 0.5076 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.4247, allocations: 7.938 kB / 0.5076 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4247, allocations: 0 / 0.5076 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4247, allocations: 3.953 kB / 0.5076 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.4248, allocations: 73.12 kB / 0.5077 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.4248, allocations: 81.17 kB / 0.5078 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.4249, allocations: 3.984 kB / 0.5078 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.589e-05/0.4249, allocations: 11.91 kB / 0.5078 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.4249, allocations: 3.953 kB / 0.5078 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.4249, allocations: 4 kB / 0.5078 GB, free: 13.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.827e-05/0.425, allocations: 75.28 kB / 0.5079 GB, free: 13.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.425, allocations: 0 / 0.5079 GB, free: 13.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001908/0.4252, allocations: 8 kB / 0.5079 GB, free: 13.23 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.0001471/0.4253, allocations: 119.2 kB / 0.508 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.494e-05/0.4254, allocations: 12 kB / 0.508 GB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4254, allocations: 0 / 0.508 GB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.325e-05/0.4254, allocations: 15.92 kB / 0.508 GB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.4256, allocations: 4 kB / 0.508 GB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.4258, allocations: 108.6 kB / 0.5081 GB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.426, allocations: 0.6696 MB / 0.5088 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.112e-05/0.426, allocations: 8.125 kB / 0.5088 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.426, allocations: 11.44 kB / 0.5088 GB, free: 12.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4261, allocations: 0 / 0.5088 GB, free: 12.23 MB / 382.1 MB Notification: Performance of Templates: time 0.002726/0.4288, allocations: 0.4918 MB / 0.5093 GB, free: 11.73 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: