Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008262/0.0008262, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009381/0.0009383, allocations: 171 kB / 16.58 MB, free: 5.926 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.349/1.349, allocations: 223.3 MB / 240.6 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6828/0.6828, allocations: 115.5 MB / 407.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003182, allocations: 13.17 kB / 495.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 77.53 MB / 0.5593 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.0007602/0.1399, allocations: 307.7 kB / 0.5596 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002136/0.1402, allocations: 31.98 kB / 0.5597 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.076e-05/0.1402, allocations: 0 / 0.5597 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.011e-05/0.1402, allocations: 0 / 0.5597 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.151e-06/0.1402, allocations: 0 / 0.5597 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.1405, allocations: 19.92 kB / 0.5597 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.797e-05/0.1406, allocations: 3.984 kB / 0.5597 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.1406, allocations: 0 / 0.5597 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.188e-05/0.1406, allocations: 4 kB / 0.5597 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.1407, allocations: 0 / 0.5597 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.1407, allocations: 0 / 0.5597 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.214e-05/0.1408, allocations: 15.98 kB / 0.5597 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.1408, allocations: 4 kB / 0.5597 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.1409, allocations: 29.64 kB / 0.5597 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.346e-05/0.1409, allocations: 7.984 kB / 0.5597 GB, free: 8.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.1409, allocations: 4 kB / 0.5597 GB, free: 8.957 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.141, allocations: 0 / 0.5597 GB, free: 8.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.141, allocations: 4 kB / 0.5597 GB, free: 8.953 MB / 430.1 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.0002882/0.1413, allocations: 307.4 kB / 0.56 GB, free: 8.605 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1413, allocations: 8.094 kB / 0.56 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.1413, allocations: 7.938 kB / 0.5601 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.196e-05/0.1414, allocations: 163.1 kB / 0.5602 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1415, allocations: 3.984 kB / 0.5602 GB, free: 8.387 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.1415, allocations: 0 / 0.5602 GB, free: 8.387 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.82e-05/0.1416, allocations: 25.7 kB / 0.5602 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.1416, allocations: 7.953 kB / 0.5602 GB, free: 8.348 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.1416, allocations: 0 / 0.5602 GB, free: 8.348 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1416, allocations: 0 / 0.5602 GB, free: 8.348 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.199e-05/0.1416, allocations: 7.922 kB / 0.5602 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.1418, allocations: 145.7 kB / 0.5604 GB, free: 8.148 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.031e-05/0.1418, allocations: 29.06 kB / 0.5604 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.1418, allocations: 4.859 kB / 0.5604 GB, free: 8.105 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.1419, allocations: 4.062 kB / 0.5604 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1419, allocations: 30.56 kB / 0.5605 GB, free: 8.062 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1419, allocations: 0 / 0.5605 GB, free: 8.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001285/0.1421, allocations: 41.64 kB / 0.5605 GB, free: 8.016 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.1421, allocations: 59.47 kB / 0.5606 GB, free: 7.945 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.346e-05/0.1421, allocations: 93.86 kB / 0.5606 GB, free: 7.844 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.1422, allocations: 25.7 kB / 0.5607 GB, free: 7.812 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.461e-05/0.1422, allocations: 80.14 kB / 0.5607 GB, free: 7.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.1422, allocations: 0 / 0.5607 GB, free: 7.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.1422, allocations: 0 / 0.5607 GB, free: 7.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1423, allocations: 314.8 kB / 0.561 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-06/0.1424, allocations: 0 / 0.561 GB, free: 7.414 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-06/0.1424, allocations: 4 kB / 0.561 GB, free: 7.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.595e-05/0.1424, allocations: 4.062 kB / 0.561 GB, free: 7.406 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1424, allocations: 0 / 0.561 GB, free: 7.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.007e-05/0.1425, allocations: 45.62 kB / 0.5611 GB, free: 7.355 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1425, allocations: 5.875 kB / 0.5611 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1425, allocations: 4 kB / 0.5611 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.1425, allocations: 0 / 0.5611 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.237e-05/0.1426, allocations: 4 kB / 0.5611 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1426, allocations: 3.953 kB / 0.5611 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.1426, allocations: 3.906 kB / 0.5611 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1426, allocations: 3.938 kB / 0.5611 GB, free: 7.332 MB / 430.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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.062e-05/0.1427, allocations: 117.9 kB / 0.5612 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-06/0.1427, allocations: 0 / 0.5612 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.31e-05/0.1428, allocations: 36.83 kB / 0.5613 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1428, allocations: 0 / 0.5613 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1428, allocations: 0 / 0.5613 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1428, allocations: 7.953 kB / 0.5613 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.853e-05/0.1429, allocations: 153.7 kB / 0.5614 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1429, allocations: 0 / 0.5614 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.143, allocations: 0 / 0.5614 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.143, allocations: 4 kB / 0.5614 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.143, allocations: 0 / 0.5614 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.143, allocations: 0 / 0.5614 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.143, allocations: 0 / 0.5614 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.793e-05/0.1431, allocations: 65.02 kB / 0.5615 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.1431, allocations: 85.14 kB / 0.5616 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.1431, allocations: 3.938 kB / 0.5616 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.14e-05/0.1432, allocations: 0 / 0.5616 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.1432, allocations: 0 / 0.5616 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1432, allocations: 0 / 0.5616 GB, free: 6.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.658e-05/0.1432, allocations: 79.28 kB / 0.5616 GB, free: 6.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1432, allocations: 0 / 0.5616 GB, free: 6.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001963/0.1434, allocations: 11.98 kB / 0.5617 GB, free: 6.68 MB / 430.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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001784/0.1436, allocations: 107.2 kB / 0.5618 GB, free: 6.562 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.428e-05/0.1437, allocations: 4 kB / 0.5618 GB, free: 6.559 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1437, allocations: 0 / 0.5618 GB, free: 6.559 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.403e-06/0.1437, allocations: 3.938 kB / 0.5618 GB, free: 6.555 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.1439, allocations: 8 kB / 0.5618 GB, free: 6.547 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001914/0.1441, allocations: 78.69 kB / 0.5618 GB, free: 6.445 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.1443, allocations: 0.6692 MB / 0.5625 GB, free: 5.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.358e-05/0.1444, allocations: 8.125 kB / 0.5625 GB, free: 5.742 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.1444, allocations: 7.438 kB / 0.5625 GB, free: 5.734 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1444, allocations: 0 / 0.5625 GB, free: 5.734 MB / 430.1 MB Notification: Performance of Templates: time 0.00225/0.1467, allocations: 276.2 kB / 0.5628 GB, free: 5.465 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)