Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, 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.001631/0.001631, allocations: 195.6 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 74.23 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3428, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.00186/0.3447, allocations: 0.6464 MB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002537/0.345, allocations: 39.81 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.051e-05/0.345, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.345, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.889e-06/0.345, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.3453, allocations: 15.98 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.384e-05/0.3453, allocations: 7.984 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.3454, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.843e-05/0.3454, allocations: 4 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.722e-05/0.3454, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.739e-06/0.3454, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.047e-05/0.3455, allocations: 19.92 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.3455, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.3456, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.128e-05/0.3456, allocations: 15.97 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3457, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.22e-07/0.3457, allocations: 4 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.3457, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003258/0.346, allocations: 315.6 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3461, allocations: 8.031 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.3461, allocations: 0.9375 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.3462, allocations: 164.4 kB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.3462, allocations: 4.375 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.3462, allocations: 384 / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.748e-05/0.3463, allocations: 30.2 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.3463, allocations: 4.188 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3463, allocations: 3.938 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3464, allocations: 4 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.3464, allocations: 0 / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.3465, allocations: 153.7 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.123e-05/0.3466, allocations: 22.59 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.3466, allocations: 4.859 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.3467, allocations: 4.062 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3467, allocations: 38.5 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.3467, allocations: 0 / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001329/0.3468, allocations: 37.64 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.3469, allocations: 55.39 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.142e-05/0.347, allocations: 89.86 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.347, allocations: 25.7 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.3471, allocations: 84.14 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.3471, allocations: 8.062 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.3472, allocations: 13.72 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3473, allocations: 310.8 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.3473, allocations: 4 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-06/0.3473, allocations: 0 / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.155e-05/0.3474, allocations: 16.8 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3474, allocations: 0 / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.365e-05/0.3474, allocations: 33.78 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3475, allocations: 12 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3475, allocations: 0 / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3475, allocations: 3.938 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.123e-05/0.3475, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3475, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.3476, allocations: 4 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.3476, allocations: 3.938 kB / 1.07 GB, free: 8.508 MB / 0.8262 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 (1): * Single equations (assignments): 1 * 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 7.894e-05/0.3477, allocations: 105.8 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.3477, allocations: 3.906 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.3478, allocations: 56.69 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3478, allocations: 0 / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3478, allocations: 4 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3478, allocations: 0 / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.3479, allocations: 145.7 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3479, allocations: 4 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/0.348, allocations: 0 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.348, allocations: 4.031 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.348, allocations: 3.938 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.348, allocations: 0 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.348, allocations: 4 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.211e-05/0.3481, allocations: 61.06 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.3481, allocations: 77.11 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.3481, allocations: 7.938 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/0.3481, allocations: 32 / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.3482, allocations: 4 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.3482, allocations: 0 / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.13e-05/0.3482, allocations: 77.45 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3482, allocations: 0 / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002028/0.3484, allocations: 8 kB / 1.07 GB, free: 7.852 MB / 0.8262 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 (1): * Single equations (assignments): 1 * 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.000173/0.3486, allocations: 107.2 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.567e-05/0.3487, allocations: 8 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3487, allocations: 4.062 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.185e-06/0.3487, allocations: 0 / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.3488, allocations: 13.59 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/0.349, allocations: 78.69 kB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.3494, allocations: 0.6692 MB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.3495, allocations: 8.062 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.3495, allocations: 7.438 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3495, allocations: 0 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of Templates: time 0.002474/0.352, allocations: 284.7 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)