Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00125/0.00125, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.001032/0.001033, allocations: 192.5 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.835/1.835, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 82.86 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2503, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.002294/0.2526, allocations: 0.582 MB / 0.7854 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002737/0.2529, allocations: 35.88 kB / 0.7854 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.505e-05/0.253, allocations: 0 / 0.7854 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.253, allocations: 3.938 kB / 0.7854 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-06/0.253, allocations: 0 / 0.7854 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.2533, allocations: 11.98 kB / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.029e-05/0.2534, allocations: 4 kB / 0.7854 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.842e-05/0.2535, allocations: 7.984 kB / 0.7854 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.66e-05/0.2535, allocations: 0 / 0.7854 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.653e-05/0.2536, allocations: 4 kB / 0.7854 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.2536, allocations: 0 / 0.7854 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.2537, allocations: 19.97 kB / 0.7854 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.2537, allocations: 0 / 0.7854 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.2537, allocations: 0 / 0.7854 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.2539, allocations: 23.86 kB / 0.7855 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2539, allocations: 0 / 0.7855 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2539, allocations: 0 / 0.7855 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2539, allocations: 0 / 0.7855 GB, free: 2.453 MB / 0.6544 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.0003754/0.2543, allocations: 322.5 kB / 0.7858 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2543, allocations: 16.03 kB / 0.7858 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.2544, allocations: 0.9375 kB / 0.7858 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.2545, allocations: 160.4 kB / 0.7859 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.2545, allocations: 4.359 kB / 0.7859 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.2545, allocations: 384 / 0.7859 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.2546, allocations: 30.27 kB / 0.786 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2547, allocations: 192 / 0.786 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.2547, allocations: 3.938 kB / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2547, allocations: 3.938 kB / 0.786 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.581e-05/0.2547, allocations: 11.92 kB / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.2549, allocations: 149.7 kB / 0.7861 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.197e-05/0.255, allocations: 14.58 kB / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.255, allocations: 4.859 kB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.255, allocations: 4.062 kB / 0.7862 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.2551, allocations: 30.56 kB / 0.7862 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.2551, allocations: 0 / 0.7862 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001591/0.2553, allocations: 49.56 kB / 0.7862 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.2553, allocations: 55.41 kB / 0.7863 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.223e-05/0.2554, allocations: 89.86 kB / 0.7864 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.2554, allocations: 25.7 kB / 0.7864 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.2554, allocations: 84.12 kB / 0.7865 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.2555, allocations: 0 / 0.7865 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.2555, allocations: 13.72 kB / 0.7865 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2557, allocations: 315 kB / 0.7868 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.2557, allocations: 4 kB / 0.7868 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.036e-05/0.2557, allocations: 3.984 kB / 0.7868 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.361e-05/0.2557, allocations: 12.86 kB / 0.7868 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2557, allocations: 0 / 0.7868 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.133e-05/0.2558, allocations: 37.64 kB / 0.7869 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2559, allocations: 6.969 kB / 0.7869 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2559, allocations: 3.938 kB / 0.7869 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.2559, allocations: 3.938 kB / 0.7869 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.256, allocations: 8.094 kB / 0.7869 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.256, allocations: 0 / 0.7869 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.256, allocations: 7.891 kB / 0.7869 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.256, allocations: 0 / 0.7869 GB, free: 0.7852 MB / 0.6544 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.662e-05/0.2561, allocations: 109.8 kB / 0.787 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.2561, allocations: 4 kB / 0.787 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.2563, allocations: 48.69 kB / 0.787 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2563, allocations: 0 / 0.787 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2563, allocations: 0 / 0.787 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2563, allocations: 4 kB / 0.787 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.2564, allocations: 141.7 kB / 0.7872 GB, free: 428 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2564, allocations: 0 / 0.7872 GB, free: 428 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/0.2565, allocations: 4 kB / 0.7872 GB, free: 424 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2565, allocations: 0 / 0.7872 GB, free: 424 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.2565, allocations: 7.938 kB / 0.7872 GB, free: 416 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2565, allocations: 0 / 0.7872 GB, free: 416 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2565, allocations: 3.984 kB / 0.7872 GB, free: 412 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.426e-05/0.2566, allocations: 53.17 kB / 0.7872 GB, free: 340 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.2567, allocations: 85.05 kB / 0.7873 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.2567, allocations: 3.938 kB / 0.7873 GB, free: 232 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.323e-05/0.2567, allocations: 0 / 0.7873 GB, free: 232 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.2567, allocations: 3.984 kB / 0.7873 GB, free: 228 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2567, allocations: 0 / 0.7873 GB, free: 228 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.739e-05/0.2568, allocations: 87.31 kB / 0.7874 GB, free: 140 kB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2568, allocations: 3.938 kB / 0.7874 GB, free: 136 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002728/0.2571, allocations: 4 kB / 0.7874 GB, free: 132 kB / 0.6544 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.000206/0.2573, allocations: 99.25 kB / 0.7875 GB, free: 24 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.813e-05/0.2574, allocations: 4 kB / 0.7875 GB, free: 20 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2574, allocations: 0 / 0.7875 GB, free: 20 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.979e-06/0.2574, allocations: 4 kB / 0.7875 GB, free: 16 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.2576, allocations: 7.922 kB / 0.7875 GB, free: 8 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4256/0.6832, allocations: 104.3 kB / 0.7876 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.6834, allocations: 0.6708 MB / 0.7883 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.6834, allocations: 12.88 kB / 0.7883 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of SimCode: time 8.62e-07/0.6834, allocations: 0 / 0.7883 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of Templates: time 0.001653/0.6851, allocations: 451.5 kB / 0.7887 GB, free: 47.97 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)