Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.Polynominal.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.172/5.172, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002503/0.002503, allocations: 356.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.481/4.481, allocations: 410.7 MB / 1.112 GB, free: 6 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001785/0.001785, allocations: 184.2 kB / 1.225 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005034, allocations: 12 kB / 1.348 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5899/0.5905, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001415/0.5919, allocations: 1.149 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002466/0.5922, allocations: 93.3 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.5923, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.095e-05/0.5923, allocations: 0.6562 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.64e-05/0.5924, allocations: 0.5625 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.5926, allocations: 21.48 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.068e-05/0.5926, allocations: 19.94 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.024e-05/0.5927, allocations: 3.984 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.457e-05/0.5928, allocations: 4.75 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.439e-05/0.5928, allocations: 19.91 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.5928, allocations: 0.5938 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.954e-05/0.5929, allocations: 15.98 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.593, allocations: 9.562 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.928e-05/0.593, allocations: 33.62 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.566e-05/0.5931, allocations: 23.91 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5931, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.917e-06/0.5931, allocations: 1.094 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.56e-06/0.5931, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB 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.0003606/0.5935, allocations: 347 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.5935, allocations: 11.62 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.5936, allocations: 4.75 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.548e-05/0.5937, allocations: 171 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.5937, allocations: 2.438 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.5937, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.5939, allocations: 53.67 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.063e-06/0.5939, allocations: 1.938 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-06/0.594, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.397e-06/0.594, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.5942, allocations: 49.38 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/0.5945, allocations: 258.1 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.5946, allocations: 50.17 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.5947, allocations: 29.62 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.5948, allocations: 4.719 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.5948, allocations: 31.81 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.122e-06/0.5948, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0004115/0.5952, allocations: 109.6 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.5953, allocations: 55.41 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.5954, allocations: 107.1 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.5954, allocations: 25.7 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.5954, allocations: 80.14 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.5955, allocations: 12.95 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-06/0.5955, allocations: 0 / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.293e-05/0.5955, allocations: 319.3 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.936e-05/0.5956, allocations: 23.45 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.5958, allocations: 23.97 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.865e-05/0.5959, allocations: 25.02 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-06/0.5959, allocations: 3.938 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002401/0.5961, allocations: 85.19 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.5962, allocations: 11.59 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.5962, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.5962, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.985e-05/0.5963, allocations: 15.52 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.92e-06/0.5963, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.946e-05/0.5964, allocations: 12 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.047e-06/0.5964, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB 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 6.146e-05/0.5965, allocations: 113.8 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.5966, allocations: 17.86 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.5968, allocations: 87.7 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.5969, allocations: 4 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.313e-06/0.5969, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.509e-06/0.5969, allocations: 1.031 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.597, allocations: 165.6 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.283e-06/0.5971, allocations: 4 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.633e-05/0.5972, allocations: 10.34 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.706e-06/0.5972, allocations: 4.594 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.891e-06/0.5972, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.749e-06/0.5972, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.183e-06/0.5972, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.5975, allocations: 179 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.5975, allocations: 79.2 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.5976, allocations: 4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.5977, allocations: 7.984 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.5977, allocations: 8.688 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.224e-06/0.5978, allocations: 1.562 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.996e-05/0.5978, allocations: 87.27 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.32e-07/0.5978, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003086/0.5981, allocations: 12 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB 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.0001289/0.5983, allocations: 104.5 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.5985, allocations: 50.2 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.5986, allocations: 1.25 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.5987, allocations: 28.98 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.599, allocations: 7.891 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.5993, allocations: 127.9 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.5995, allocations: 0.6809 MB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.88e-05/0.5995, allocations: 3.984 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.5995, allocations: 11.44 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of SimCode: time 1.57e-06/0.5995, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of Templates: time 0.002772/0.6023, allocations: 461 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB