Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008429/0.000843, allocations: 88.83 kB / 16.67 MB, free: 6.59 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.0009073/0.0009074, allocations: 183.8 kB / 17.58 MB, free: 6.188 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.386/1.386, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7244/0.7244, allocations: 115.5 MB / 408.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003263, allocations: 16.22 kB / 496.5 MB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3861, allocations: 77.52 MB / 0.5606 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.001639/0.3878, allocations: 1.151 MB / 0.5617 GB, free: 34.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003264/0.3881, allocations: 98.06 kB / 0.5618 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.3882, allocations: 1.562 kB / 0.5618 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.936e-05/0.3882, allocations: 3.938 kB / 0.5618 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.442e-05/0.3883, allocations: 9.453 kB / 0.5618 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.3885, allocations: 11.08 kB / 0.5618 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.991e-05/0.3885, allocations: 21.36 kB / 0.5618 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.578e-05/0.3886, allocations: 11.06 kB / 0.5619 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.172e-05/0.3887, allocations: 8.859 kB / 0.5619 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.3887, allocations: 10.78 kB / 0.5619 GB, free: 34.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.3888, allocations: 1.156 kB / 0.5619 GB, free: 34.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.784e-05/0.3889, allocations: 18.7 kB / 0.5619 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.696e-05/0.3889, allocations: 7.656 kB / 0.5619 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.3889, allocations: 42.91 kB / 0.5619 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.403e-05/0.389, allocations: 18.75 kB / 0.562 GB, free: 34.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.389, allocations: 0 / 0.562 GB, free: 34.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3891, allocations: 2.5 kB / 0.562 GB, free: 34.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.3891, allocations: 0 / 0.562 GB, free: 34.44 MB / 446.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.0003916/0.3895, allocations: 345.9 kB / 0.5623 GB, free: 34.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3895, allocations: 14.53 kB / 0.5623 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.3895, allocations: 3.625 kB / 0.5623 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.562e-05/0.3896, allocations: 169.5 kB / 0.5625 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3897, allocations: 1.375 kB / 0.5625 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.3897, allocations: 2.562 kB / 0.5625 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.3899, allocations: 57.16 kB / 0.5625 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3899, allocations: 192 / 0.5625 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3899, allocations: 3.938 kB / 0.5625 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3899, allocations: 3.594 kB / 0.5625 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.3902, allocations: 58.06 kB / 0.5626 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.3905, allocations: 256.9 kB / 0.5628 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.3906, allocations: 48.33 kB / 0.5629 GB, free: 33.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.466e-05/0.3908, allocations: 31.81 kB / 0.5629 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.3908, allocations: 3.875 kB / 0.5629 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.3908, allocations: 33.91 kB / 0.5629 GB, free: 33.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.3908, allocations: 0 / 0.5629 GB, free: 33.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000368/0.3912, allocations: 107.8 kB / 0.5631 GB, free: 33.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.3912, allocations: 51.41 kB / 0.5631 GB, free: 33.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.478e-05/0.3913, allocations: 110 kB / 0.5632 GB, free: 33.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.3913, allocations: 26.55 kB / 0.5632 GB, free: 33.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.3914, allocations: 89.88 kB / 0.5633 GB, free: 33.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.3914, allocations: 5.312 kB / 0.5633 GB, free: 33.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/0.3914, allocations: 11.22 kB / 0.5633 GB, free: 33.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.475e-05/0.3914, allocations: 312.3 kB / 0.5636 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.136e-05/0.3915, allocations: 28.2 kB / 0.5637 GB, free: 32.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.918e-05/0.3916, allocations: 22.61 kB / 0.5637 GB, free: 32.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.3918, allocations: 57.17 kB / 0.5637 GB, free: 32.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3918, allocations: 4.5 kB / 0.5637 GB, free: 32.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.392, allocations: 84.88 kB / 0.5638 GB, free: 32.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3921, allocations: 6.266 kB / 0.5638 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3921, allocations: 0 / 0.5638 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.3921, allocations: 0 / 0.5638 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.756e-05/0.3922, allocations: 13.56 kB / 0.5638 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3922, allocations: 0 / 0.5638 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.3922, allocations: 9.531 kB / 0.5638 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.3922, allocations: 1.172 kB / 0.5638 GB, free: 32.73 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.3923, allocations: 117.7 kB / 0.564 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.3923, allocations: 6.75 kB / 0.564 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.3926, allocations: 91.95 kB / 0.5641 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3926, allocations: 1.812 kB / 0.5641 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3926, allocations: 0.6875 kB / 0.5641 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3926, allocations: 0.7031 kB / 0.5641 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.3927, allocations: 164.7 kB / 0.5642 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3928, allocations: 0.7031 kB / 0.5642 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-05/0.3928, allocations: 11.58 kB / 0.5642 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3928, allocations: 3.938 kB / 0.5642 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.3929, allocations: 2.344 kB / 0.5642 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3929, allocations: 0.7969 kB / 0.5642 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3929, allocations: 0.875 kB / 0.5642 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.3931, allocations: 186.8 kB / 0.5644 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.3931, allocations: 78.14 kB / 0.5645 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.3932, allocations: 1.344 kB / 0.5645 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.3932, allocations: 7.797 kB / 0.5645 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.3933, allocations: 5.719 kB / 0.5645 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.3933, allocations: 1.281 kB / 0.5645 GB, free: 32.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.192e-05/0.3933, allocations: 90.81 kB / 0.5646 GB, free: 32.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3933, allocations: 0 / 0.5646 GB, free: 32.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.3936, allocations: 7.5 kB / 0.5646 GB, free: 32.04 MB / 446.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 (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.0001249/0.3937, allocations: 103.7 kB / 0.5647 GB, free: 31.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.3939, allocations: 51.33 kB / 0.5647 GB, free: 31.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3939, allocations: 1 kB / 0.5647 GB, free: 31.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.592e-05/0.394, allocations: 26.34 kB / 0.5648 GB, free: 31.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.3943, allocations: 14 kB / 0.5648 GB, free: 31.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.3946, allocations: 150.5 kB / 0.5649 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.3947, allocations: 0.6786 MB / 0.5656 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.3948, allocations: 9.031 kB / 0.5656 GB, free: 31.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3948, allocations: 1.906 kB / 0.5656 GB, free: 31.09 MB / 446.1 MB Notification: Performance of Templates: time 0.002265/0.397, allocations: 0.6528 MB / 0.5662 GB, free: 31.07 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)