Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007859/0.0007857, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009714/0.0009715, allocations: 168.7 kB / 15.95 MB, free: 204 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.959/1.959, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.7048/0.7048, allocations: 95.64 MB / 366 MB, free: 10.36 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.0005897/0.0005898, allocations: 24 kB / 446.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.456, allocations: 70.33 MB / 0.5051 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001895/0.458, allocations: 1.126 MB / 0.5062 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000361/0.4584, allocations: 112.3 kB / 0.5063 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/0.4584, allocations: 4 kB / 0.5063 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.627e-05/0.4585, allocations: 3.984 kB / 0.5063 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.792e-05/0.4585, allocations: 3.938 kB / 0.5063 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.4588, allocations: 19.97 kB / 0.5063 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.236e-05/0.4588, allocations: 23.92 kB / 0.5063 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.459, allocations: 4 kB / 0.5063 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.946e-05/0.459, allocations: 7.938 kB / 0.5063 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.4591, allocations: 11.98 kB / 0.5063 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.4591, allocations: 4 kB / 0.5064 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.4592, allocations: 43.89 kB / 0.5064 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.652e-05/0.4593, allocations: 3.984 kB / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.4593, allocations: 33.7 kB / 0.5064 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.4594, allocations: 35.88 kB / 0.5065 GB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4594, allocations: 0 / 0.5065 GB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4594, allocations: 0 / 0.5065 GB, free: 15.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.4594, allocations: 0 / 0.5065 GB, free: 15.05 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004469/0.4599, allocations: 357.2 kB / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4599, allocations: 11.98 kB / 0.5068 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.46, allocations: 11.84 kB / 0.5068 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.4601, allocations: 159.1 kB / 0.507 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.4601, allocations: 0 / 0.507 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.4601, allocations: 8 kB / 0.507 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.4603, allocations: 57.62 kB / 0.507 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.4603, allocations: 4 kB / 0.507 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.4604, allocations: 0 / 0.507 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4604, allocations: 3.938 kB / 0.507 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.4605, allocations: 51.89 kB / 0.5071 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.4609, allocations: 256.9 kB / 0.5073 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.461, allocations: 42.56 kB / 0.5074 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.493e-05/0.4611, allocations: 32.89 kB / 0.5074 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/0.4611, allocations: 8 kB / 0.5074 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.4612, allocations: 30.56 kB / 0.5075 GB, free: 13.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.4612, allocations: 0 / 0.5075 GB, free: 13.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.00035/0.4615, allocations: 105.6 kB / 0.5076 GB, free: 13.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.4616, allocations: 51.41 kB / 0.5076 GB, free: 13.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.673e-05/0.4617, allocations: 109.8 kB / 0.5077 GB, free: 13.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.4617, allocations: 25.7 kB / 0.5077 GB, free: 13.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.4617, allocations: 84.14 kB / 0.5078 GB, free: 13.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.4618, allocations: 3.906 kB / 0.5078 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/0.4618, allocations: 0 / 0.5078 GB, free: 13.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.4618, allocations: 327 kB / 0.5081 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.052e-05/0.4619, allocations: 15.98 kB / 0.5081 GB, free: 13.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.026e-05/0.462, allocations: 23.98 kB / 0.5082 GB, free: 13.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.105e-05/0.4621, allocations: 28.03 kB / 0.5082 GB, free: 13.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4621, allocations: 0 / 0.5082 GB, free: 13.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001655/0.4622, allocations: 89.47 kB / 0.5083 GB, free: 12.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.4623, allocations: 10.22 kB / 0.5083 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4623, allocations: 7.984 kB / 0.5083 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.4623, allocations: 0 / 0.5083 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.4624, allocations: 8.25 kB / 0.5083 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4624, allocations: 0 / 0.5083 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.4625, allocations: 11.98 kB / 0.5083 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.4625, allocations: 4 kB / 0.5083 GB, free: 12.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 7.684e-05/0.4626, allocations: 109.8 kB / 0.5084 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.4626, allocations: 11.89 kB / 0.5084 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.4629, allocations: 93.06 kB / 0.5085 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.4629, allocations: 0 / 0.5085 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4629, allocations: 4 kB / 0.5085 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4629, allocations: 4.031 kB / 0.5085 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.463, allocations: 161.6 kB / 0.5087 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4631, allocations: 3.984 kB / 0.5087 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.4631, allocations: 12 kB / 0.5087 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4631, allocations: 3.953 kB / 0.5087 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.4631, allocations: 0 / 0.5087 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4631, allocations: 0 / 0.5087 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4631, allocations: 0 / 0.5087 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.4633, allocations: 183.4 kB / 0.5089 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.4634, allocations: 84.98 kB / 0.509 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.4634, allocations: 7.953 kB / 0.509 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.777e-05/0.4635, allocations: 8.031 kB / 0.509 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.4635, allocations: 7.984 kB / 0.509 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.4635, allocations: 4 kB / 0.509 GB, free: 12.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.322e-05/0.4636, allocations: 83.22 kB / 0.5091 GB, free: 12.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4636, allocations: 0 / 0.5091 GB, free: 12.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.4638, allocations: 8 kB / 0.5091 GB, free: 12.06 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0001363/0.464, allocations: 103.2 kB / 0.5092 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.4642, allocations: 51.97 kB / 0.5092 GB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.4642, allocations: 0 / 0.5092 GB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.4643, allocations: 24.03 kB / 0.5092 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.4646, allocations: 15.02 kB / 0.5093 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.4648, allocations: 120.5 kB / 0.5094 GB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.465, allocations: 0.6809 MB / 0.51 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.136e-05/0.465, allocations: 0 / 0.51 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/0.465, allocations: 7.438 kB / 0.51 GB, free: 11 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.465, allocations: 8 kB / 0.5101 GB, free: 11 MB / 382.1 MB Notification: Performance of Templates: time 0.002773/0.4678, allocations: 452.2 kB / 0.5105 GB, free: 10.55 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1) Environment - environmentSimulation: