Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.066/1.066, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001818/0.001818, allocations: 245.7 kB / 260.5 MB, free: 12.71 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7413/0.7413, allocations: 138.4 MB / 402.2 MB, free: 0.5664 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 462.4 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.672e-05, allocations: 5.047 kB / 462.4 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002477/0.002504, allocations: 1.551 MB / 463.9 MB, free: 15.86 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002734/0.002777, allocations: 97.09 kB / 464 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.002804, allocations: 1.188 kB / 464 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.904e-05/0.002863, allocations: 2.406 kB / 464 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.041e-05/0.002903, allocations: 6.859 kB / 464 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.003176, allocations: 20.55 kB / 464 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.003255, allocations: 27.23 kB / 464.1 MB, free: 15.78 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.869e-05/0.003334, allocations: 2.719 kB / 464.1 MB, free: 15.78 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.762e-05/0.003382, allocations: 17.12 kB / 464.1 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.003421, allocations: 6.375 kB / 464.1 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.003434, allocations: 4.719 kB / 464.1 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.003551, allocations: 19.94 kB / 464.1 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.003591, allocations: 7.891 kB / 464.1 MB, free: 15.76 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.003608, allocations: 5.641 kB / 464.1 MB, free: 15.76 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.003737, allocations: 38.88 kB / 464.2 MB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003739, allocations: 0 / 464.2 MB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00374, allocations: 0 / 464.2 MB, free: 15.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.003744, allocations: 2.109 kB / 464.2 MB, free: 15.75 MB / 426.7 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.0003257/0.00407, allocations: 240.6 kB / 464.4 MB, free: 15.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.004111, allocations: 9.125 kB / 464.4 MB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.004143, allocations: 4.656 kB / 464.4 MB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.004245, allocations: 114.6 kB / 464.5 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.004255, allocations: 1.531 kB / 464.5 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.004262, allocations: 1.531 kB / 464.5 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.004399, allocations: 61.38 kB / 464.6 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.004407, allocations: 1.516 kB / 464.6 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.004415, allocations: 384 / 464.6 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.004422, allocations: 0.9375 kB / 464.6 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.976e-05/0.004452, allocations: 12.5 kB / 464.6 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.004703, allocations: 151.8 kB / 464.8 MB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.563e-05/0.004769, allocations: 68.3 kB / 464.8 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.004788, allocations: 7.234 kB / 464.8 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.143e-05/0.004829, allocations: 5.531 kB / 464.8 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.004858, allocations: 30.56 kB / 464.9 MB, free: 15.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.004859, allocations: 1.719 kB / 464.9 MB, free: 15.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001281/0.004987, allocations: 39.62 kB / 464.9 MB, free: 15.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.005026, allocations: 61.36 kB / 465 MB, free: 14.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.459e-05/0.005101, allocations: 110.4 kB / 465.1 MB, free: 14.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.005117, allocations: 29.7 kB / 465.1 MB, free: 14.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.005161, allocations: 87.3 kB / 465.2 MB, free: 14.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.005184, allocations: 10.55 kB / 465.2 MB, free: 14.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.005219, allocations: 12.58 kB / 465.2 MB, free: 14.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003211/0.00554, allocations: 315.4 kB / 465.5 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.005562, allocations: 3.984 kB / 465.5 MB, free: 14.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.105e-05/0.005573, allocations: 2.312 kB / 465.5 MB, free: 14.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.005612, allocations: 19.41 kB / 465.5 MB, free: 14.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.005616, allocations: 0.8125 kB / 465.5 MB, free: 14.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.705e-05/0.005683, allocations: 35.91 kB / 465.6 MB, free: 14.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.005698, allocations: 6.594 kB / 465.6 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.005704, allocations: 1.312 kB / 465.6 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.005717, allocations: 2.219 kB / 465.6 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.284e-05/0.00579, allocations: 10.23 kB / 465.6 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.005793, allocations: 2.531 kB / 465.6 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.005818, allocations: 5.531 kB / 465.6 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.005824, allocations: 1.641 kB / 465.6 MB, free: 14.32 MB / 426.7 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 7.897e-05/0.005903, allocations: 115.5 kB / 465.7 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.005925, allocations: 2.156 kB / 465.7 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.916e-05/0.006024, allocations: 47.89 kB / 465.8 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.006029, allocations: 0.7031 kB / 465.8 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.006032, allocations: 5.906 kB / 465.8 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006035, allocations: 1.719 kB / 465.8 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.006151, allocations: 71.42 kB / 465.8 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.006153, allocations: 0.7969 kB / 465.8 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.006192, allocations: 6.344 kB / 465.9 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.006194, allocations: 1.156 kB / 465.9 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.006205, allocations: 5.984 kB / 465.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.006208, allocations: 1.938 kB / 465.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.006209, allocations: 1.312 kB / 465.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.006322, allocations: 182.4 kB / 466 MB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.00633, allocations: 3.609 kB / 466 MB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.00634, allocations: 0.7969 kB / 466 MB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.615e-05/0.006396, allocations: 5.5 kB / 466.1 MB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.006426, allocations: 3.266 kB / 466.1 MB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.006431, allocations: 0 / 466.1 MB, free: 13.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.92e-05/0.00645, allocations: 19.5 kB / 466.1 MB, free: 13.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00645, allocations: 0 / 466.1 MB, free: 13.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002215/0.006672, allocations: 17.12 kB / 466.1 MB, free: 13.87 MB / 426.7 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.0001829/0.006855, allocations: 83.02 kB / 466.2 MB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.396e-05/0.006919, allocations: 14.05 kB / 466.2 MB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.006922, allocations: 0.625 kB / 466.2 MB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.959e-05/0.006942, allocations: 12.86 kB / 466.2 MB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.007122, allocations: 4.562 kB / 466.2 MB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.007407, allocations: 111.8 kB / 466.3 MB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.409e-05/0.007451, allocations: 57.67 kB / 466.4 MB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.228e-05/0.007474, allocations: 2.141 kB / 466.4 MB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.007522, allocations: 50.22 kB / 466.4 MB, free: 13.55 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.007523, allocations: 1.438 kB / 466.4 MB, free: 13.55 MB / 426.7 MB Notification: Performance of Templates: time 0.00281/0.01033, allocations: 0.5849 MB / 467 MB, free: 13.48 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5997502682730556]