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.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.001328/0.001328, allocations: 80.94 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.001551/0.001551, allocations: 173.4 kB / 23.36 MB, free: 1.129 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 0.9613/0.9613, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.00195/0.00195, allocations: 241 kB / 260.5 MB, free: 12.7 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.6931/0.6931, allocations: 138.4 MB / 402.2 MB, free: 0.5039 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 462.4 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.243e-05, allocations: 6.234 kB / 462.4 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001333/0.001355, allocations: 0.6082 MB / 463 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001727/0.001528, allocations: 33.11 kB / 463 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.039e-05/0.001538, allocations: 1.219 kB / 463 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.069e-05/0.001549, allocations: 2.312 kB / 463 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.491e-06/0.001554, allocations: 0 / 463 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.001812, allocations: 18.16 kB / 463 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.422e-05/0.001846, allocations: 3.406 kB / 463 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.867e-05/0.001874, allocations: 1.891 kB / 463 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.425e-05/0.001899, allocations: 1.938 kB / 463 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.143e-05/0.00192, allocations: 1.688 kB / 463 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.001929, allocations: 2.312 kB / 463 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.679e-05/0.002006, allocations: 23.88 kB / 463.1 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.275e-06/0.002014, allocations: 0 / 463.1 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.127e-06/0.002023, allocations: 3.109 kB / 463.1 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.283e-05/0.002096, allocations: 20.2 kB / 463.1 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002098, allocations: 0.7969 kB / 463.1 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.002099, allocations: 0.625 kB / 463.1 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.002102, allocations: 0 / 463.1 MB, free: 0.5117 MB / 410.7 MB 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.0001527/0.002254, allocations: 219.3 kB / 463.3 MB, free: 288 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.002285, allocations: 10.92 kB / 463.3 MB, free: 288 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.044e-05/0.002305, allocations: 0.9375 kB / 463.3 MB, free: 288 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.227e-05/0.002338, allocations: 105.2 kB / 463.4 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.002345, allocations: 4.781 kB / 463.4 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.002351, allocations: 384 / 463.4 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.137e-05/0.002403, allocations: 32.16 kB / 463.4 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.589e-06/0.002407, allocations: 192 / 463.5 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.002413, allocations: 2.734 kB / 463.5 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.002417, allocations: 384 / 463.5 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.034e-05/0.002427, allocations: 9.906 kB / 463.5 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.961e-05/0.002476, allocations: 56.84 kB / 463.5 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.536e-05/0.002502, allocations: 17.67 kB / 463.5 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.817e-06/0.002511, allocations: 6.672 kB / 463.5 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.002533, allocations: 1.438 kB / 463.5 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.002566, allocations: 38.61 kB / 463.6 MB, free: 15.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.002567, allocations: 1.969 kB / 463.6 MB, free: 15.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 7.291e-05/0.00264, allocations: 34.61 kB / 463.6 MB, free: 15.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.002668, allocations: 53.39 kB / 463.7 MB, free: 15.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.618e-05/0.002694, allocations: 89.86 kB / 463.8 MB, free: 15.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.002702, allocations: 26.27 kB / 463.8 MB, free: 15.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.002727, allocations: 87.2 kB / 463.9 MB, free: 15.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.002753, allocations: 4.656 kB / 463.9 MB, free: 15.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.002772, allocations: 13.73 kB / 463.9 MB, free: 15.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.002844, allocations: 317 kB / 464.2 MB, free: 15.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-06/0.002848, allocations: 0.5625 kB / 464.2 MB, free: 15.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-06/0.002853, allocations: 3.672 kB / 464.2 MB, free: 15.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.91e-05/0.002872, allocations: 9.516 kB / 464.2 MB, free: 15.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.002874, allocations: 0 / 464.2 MB, free: 15.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.043e-05/0.002904, allocations: 35.7 kB / 464.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.002915, allocations: 6.5 kB / 464.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.002919, allocations: 1.359 kB / 464.3 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.667e-06/0.002927, allocations: 1.906 kB / 464.3 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/0.002972, allocations: 2.281 kB / 464.3 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.002976, allocations: 0.75 kB / 464.3 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-06/0.002983, allocations: 2.125 kB / 464.3 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.002995, allocations: 1.734 kB / 464.3 MB, free: 15.29 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 (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 5.293e-05/0.003048, allocations: 115.7 kB / 464.4 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-06/0.003051, allocations: 3.109 kB / 464.4 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7e-05/0.003121, allocations: 44.59 kB / 464.4 MB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.003123, allocations: 3.594 kB / 464.4 MB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.003125, allocations: 1.641 kB / 464.4 MB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.003127, allocations: 0.6094 kB / 464.4 MB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.561e-05/0.003173, allocations: 64.64 kB / 464.5 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.003174, allocations: 0.625 kB / 464.5 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-06/0.003181, allocations: 3.25 kB / 464.5 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.91e-07/0.003181, allocations: 1.375 kB / 464.5 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.003185, allocations: 1.656 kB / 464.5 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.003186, allocations: 1.562 kB / 464.5 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.003187, allocations: 1.344 kB / 464.5 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.932e-05/0.003226, allocations: 57.3 kB / 464.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-06/0.00323, allocations: 4.156 kB / 464.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-06/0.003237, allocations: 0.7031 kB / 464.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.428e-06/0.003241, allocations: 1.094 kB / 464.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-06/0.003251, allocations: 6.328 kB / 464.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.003253, allocations: 1.25 kB / 464.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.701e-06/0.003259, allocations: 11.53 kB / 464.6 MB, free: 14.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003259, allocations: 0 / 464.6 MB, free: 14.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 9.687e-05/0.003356, allocations: 3.969 kB / 464.6 MB, free: 14.97 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 (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 9.01e-05/0.003446, allocations: 86.69 kB / 464.7 MB, free: 14.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 3.917e-05/0.003485, allocations: 10.14 kB / 464.7 MB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.003487, allocations: 1.719 kB / 464.7 MB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.191e-06/0.003493, allocations: 9.391 kB / 464.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.747e-05/0.00353, allocations: 6.344 kB / 464.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001185/0.003649, allocations: 74.81 kB / 464.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.42e-05/0.003673, allocations: 52.02 kB / 464.8 MB, free: 14.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.487e-05/0.003688, allocations: 3.625 kB / 464.8 MB, free: 14.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.003718, allocations: 52.61 kB / 464.9 MB, free: 14.68 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.003718, allocations: 0 / 464.9 MB, free: 14.68 MB / 426.7 MB Notification: Performance of Templates: time 0.001594/0.005312, allocations: 361.2 kB / 465.2 MB, free: 14.63 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4560314300470054]