Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001342/0.001342, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002083, allocations: 65.53 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3084, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001908/0.3103, allocations: 0.5834 MB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002551/0.3106, allocations: 35.81 kB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.665e-05/0.3107, allocations: 0 / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.3107, allocations: 0 / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.72e-06/0.3107, allocations: 0 / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.311, allocations: 12 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.105e-05/0.311, allocations: 4 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.3111, allocations: 3.984 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.549e-05/0.3111, allocations: 4 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.296e-05/0.3111, allocations: 0 / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.3112, allocations: 4 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.781e-05/0.3113, allocations: 19.92 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.3113, allocations: 0 / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.3113, allocations: 0 / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.666e-05/0.3114, allocations: 19.97 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3114, allocations: 0 / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3114, allocations: 0 / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3114, allocations: 0 / 1.069 GB, free: 9.754 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.0002873/0.3117, allocations: 315.5 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3118, allocations: 8.031 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.3118, allocations: 4.938 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.981e-05/0.3119, allocations: 164.4 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.3119, allocations: 384 / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.3119, allocations: 4.375 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.216e-05/0.312, allocations: 30.25 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.312, allocations: 192 / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.312, allocations: 7.938 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.312, allocations: 3.938 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.3121, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.3122, allocations: 145.7 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.422e-05/0.3122, allocations: 26.59 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.3123, allocations: 8.859 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.3123, allocations: 8.047 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.3123, allocations: 34.56 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3123, allocations: 3.938 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001247/0.3125, allocations: 41.58 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3125, allocations: 51.41 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.552e-05/0.3126, allocations: 89.86 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.3126, allocations: 29.7 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.3126, allocations: 80.14 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.3127, allocations: 7.984 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.3127, allocations: 9.719 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3128, allocations: 314.8 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.3128, allocations: 4.125 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.3128, allocations: 0 / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.916e-05/0.3129, allocations: 12.8 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3129, allocations: 0 / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.599e-05/0.3129, allocations: 37.69 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3129, allocations: 9.562 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.313, allocations: 0 / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.313, allocations: 3.938 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-05/0.313, allocations: 0 / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.3131, allocations: 8.094 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.846e-05/0.3131, allocations: 3.938 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.3131, allocations: 0 / 1.07 GB, free: 8.09 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 9.073e-05/0.3132, allocations: 105.8 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.3132, allocations: 3.906 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.3134, allocations: 52.69 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3134, allocations: 4.031 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3134, allocations: 0 / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3134, allocations: 0 / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.3136, allocations: 149.7 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3136, allocations: 0 / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.3136, allocations: 0 / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3136, allocations: 0 / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3136, allocations: 3.938 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3137, allocations: 7.984 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3137, allocations: 0 / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.742e-05/0.3137, allocations: 61.12 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.3138, allocations: 77.11 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.3138, allocations: 11.88 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.138e-05/0.3138, allocations: 0 / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.3138, allocations: 0 / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.3138, allocations: 4 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.191e-05/0.3139, allocations: 75.28 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3139, allocations: 4.031 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001987/0.3141, allocations: 15.94 kB / 1.071 GB, free: 7.422 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.0001447/0.3142, allocations: 103.8 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.671e-05/0.3143, allocations: 4 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3143, allocations: 0 / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.163e-06/0.3143, allocations: 0 / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.3145, allocations: 5.719 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001844/0.3146, allocations: 95.16 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.3149, allocations: 0.6768 MB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.946e-05/0.315, allocations: 0 / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.315, allocations: 7.438 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.315, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of Templates: time 0.002315/0.3173, allocations: 288.7 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)