Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001175/0.001176, allocations: 116.1 kB / 16.42 MB, free: 6.438 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.001231/0.001231, allocations: 190.5 kB / 17.35 MB, free: 5.738 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.241/1.241, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002027, allocations: 290 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9011/0.9011, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 99.84 kB / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3663, allocations: 86.97 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001488/0.3678, allocations: 0.5746 MB / 0.7677 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002018/0.368, allocations: 31.88 kB / 0.7677 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.223e-05/0.368, allocations: 0 / 0.7677 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.044e-05/0.3681, allocations: 8 kB / 0.7677 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.11e-06/0.3681, allocations: 0 / 0.7677 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.3683, allocations: 15.92 kB / 0.7677 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.89e-05/0.3684, allocations: 4 kB / 0.7677 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.301e-05/0.3684, allocations: 0 / 0.7677 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.188e-05/0.3684, allocations: 0 / 0.7677 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.397e-05/0.3685, allocations: 7.969 kB / 0.7677 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.285e-06/0.3685, allocations: 0 / 0.7677 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.511e-05/0.3686, allocations: 15.98 kB / 0.7677 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.3686, allocations: 0 / 0.7677 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.3686, allocations: 11.94 kB / 0.7677 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.866e-05/0.3687, allocations: 15.98 kB / 0.7678 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3687, allocations: 0 / 0.7678 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3687, allocations: 0 / 0.7678 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.495e-06/0.3687, allocations: 0 / 0.7678 GB, free: 3.203 MB / 0.5294 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.0002492/0.369, allocations: 311.5 kB / 0.7681 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.369, allocations: 12.06 kB / 0.7681 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.369, allocations: 0.9375 kB / 0.7681 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.55e-05/0.3691, allocations: 164.3 kB / 0.7682 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.3691, allocations: 384 / 0.7682 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.3692, allocations: 4.375 kB / 0.7682 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.668e-05/0.3692, allocations: 42.19 kB / 0.7683 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.3693, allocations: 192 / 0.7683 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3693, allocations: 3.938 kB / 0.7683 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.3693, allocations: 0 / 0.7683 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.706e-05/0.3693, allocations: 0 / 0.7683 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.3694, allocations: 149.7 kB / 0.7684 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.012e-05/0.3695, allocations: 14.58 kB / 0.7684 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.3695, allocations: 20.89 kB / 0.7685 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.3695, allocations: 0 / 0.7685 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3695, allocations: 34.55 kB / 0.7685 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.3696, allocations: 0 / 0.7685 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001084/0.3697, allocations: 37.64 kB / 0.7685 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.3697, allocations: 51.41 kB / 0.7686 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.222e-05/0.3697, allocations: 89.86 kB / 0.7687 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.3697, allocations: 25.83 kB / 0.7687 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.143e-05/0.3698, allocations: 84.14 kB / 0.7688 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.3698, allocations: 7.844 kB / 0.7688 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.3698, allocations: 17.72 kB / 0.7688 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.3699, allocations: 314.8 kB / 0.7691 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.619e-06/0.3699, allocations: 0 / 0.7691 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-06/0.37, allocations: 3.938 kB / 0.7691 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.171e-05/0.37, allocations: 8.859 kB / 0.7691 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.37, allocations: 4.062 kB / 0.7691 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.223e-05/0.37, allocations: 33.7 kB / 0.7691 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.3701, allocations: 4 kB / 0.7691 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.3701, allocations: 0 / 0.7691 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.3701, allocations: 3.938 kB / 0.7691 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.3701, allocations: 7.984 kB / 0.7692 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.3702, allocations: 0 / 0.7692 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.3702, allocations: 4 kB / 0.7692 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.3702, allocations: 0 / 0.7692 GB, free: 1.551 MB / 0.5294 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 6.095e-05/0.3702, allocations: 119.9 kB / 0.7693 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-06/0.3703, allocations: 3.938 kB / 0.7693 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.614e-05/0.3704, allocations: 36.81 kB / 0.7693 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3704, allocations: 3.938 kB / 0.7693 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.3704, allocations: 0 / 0.7693 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.3704, allocations: 81.11 kB / 0.7694 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.3704, allocations: 4 kB / 0.7694 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.22e-05/0.3704, allocations: 4.031 kB / 0.7694 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.669e-06/0.3705, allocations: 3.938 kB / 0.7694 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.49e-05/0.3705, allocations: 112.9 kB / 0.7695 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.95e-05/0.3706, allocations: 206.8 kB / 0.7697 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.442e-05/0.3707, allocations: 3.984 kB / 0.7697 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.605e-05/0.3707, allocations: 79.34 kB / 0.7698 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of Backend: time 2.71e-07/0.3707, allocations: 0 / 0.7698 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003339/0.371, allocations: 89.14 kB / 0.7699 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0002919/0.3713, allocations: 0.5332 MB / 0.7704 GB, free: 184 kB / 0.5294 GB Notification: Performance of Templates: time 0.001977/0.3733, allocations: 350.2 kB / 0.7707 GB, free: 15.84 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)