Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7432/0.7432, allocations: 128.7 MB / 144.5 MB, free: 1.383 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 195.7 kB / 174.3 MB, free: 5.918 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205 MB / 408.9 MB, free: 9.727 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 102 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 59.72 kB / 0.558 GB, free: 97.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1486, allocations: 75.48 MB / 0.6317 GB, free: 33 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001842/0.1505, allocations: 0.6331 MB / 0.6323 GB, free: 32.36 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002622/0.1508, allocations: 41.19 kB / 0.6324 GB, free: 32.32 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.149e-05/0.1508, allocations: 0 / 0.6324 GB, free: 32.32 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.661e-05/0.1508, allocations: 0 / 0.6324 GB, free: 32.32 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.921e-06/0.1509, allocations: 4 kB / 0.6324 GB, free: 32.32 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.1511, allocations: 4 kB / 0.6324 GB, free: 32.31 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.4e-05/0.1512, allocations: 0 / 0.6324 GB, free: 32.31 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.1512, allocations: 15.98 kB / 0.6324 GB, free: 32.3 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.1513, allocations: 3.984 kB / 0.6324 GB, free: 32.29 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.939e-05/0.1513, allocations: 0 / 0.6324 GB, free: 32.29 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.1513, allocations: 0 / 0.6324 GB, free: 32.29 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.1514, allocations: 15.98 kB / 0.6324 GB, free: 32.28 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.1515, allocations: 0 / 0.6324 GB, free: 32.28 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.1515, allocations: 0 / 0.6324 GB, free: 32.28 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.784e-05/0.1516, allocations: 11.98 kB / 0.6324 GB, free: 32.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1516, allocations: 0 / 0.6324 GB, free: 32.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1516, allocations: 0 / 0.6324 GB, free: 32.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1516, allocations: 3.938 kB / 0.6324 GB, free: 32.26 MB / 442.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.0002613/0.1519, allocations: 323.6 kB / 0.6327 GB, free: 31.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1519, allocations: 19.91 kB / 0.6327 GB, free: 31.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.152, allocations: 0.9375 kB / 0.6327 GB, free: 31.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.041e-05/0.152, allocations: 160.4 kB / 0.6329 GB, free: 31.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1521, allocations: 384 / 0.6329 GB, free: 31.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.1521, allocations: 384 / 0.6329 GB, free: 31.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.248e-05/0.1522, allocations: 34.25 kB / 0.6329 GB, free: 31.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1522, allocations: 192 / 0.6329 GB, free: 31.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1522, allocations: 3.938 kB / 0.6329 GB, free: 31.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.1522, allocations: 4 kB / 0.6329 GB, free: 31.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.398e-05/0.1522, allocations: 0 / 0.6329 GB, free: 31.63 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.1524, allocations: 149.7 kB / 0.6331 GB, free: 31.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/0.1524, allocations: 22.5 kB / 0.6331 GB, free: 31.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/0.1524, allocations: 12.95 kB / 0.6331 GB, free: 31.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.1525, allocations: 0 / 0.6331 GB, free: 31.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.1525, allocations: 34.56 kB / 0.6331 GB, free: 31.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1525, allocations: 0 / 0.6331 GB, free: 31.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001339/0.1526, allocations: 45.58 kB / 0.6332 GB, free: 31.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.1527, allocations: 51.41 kB / 0.6332 GB, free: 31.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.024e-05/0.1527, allocations: 89.86 kB / 0.6333 GB, free: 31.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.1527, allocations: 25.7 kB / 0.6333 GB, free: 31.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.157e-05/0.1527, allocations: 80.14 kB / 0.6334 GB, free: 31.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.1528, allocations: 3.984 kB / 0.6334 GB, free: 31.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.1528, allocations: 13.84 kB / 0.6334 GB, free: 31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.375e-05/0.1528, allocations: 314.8 kB / 0.6337 GB, free: 30.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.1529, allocations: 4 kB / 0.6337 GB, free: 30.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-06/0.1529, allocations: 0 / 0.6337 GB, free: 30.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.415e-05/0.1529, allocations: 8.859 kB / 0.6338 GB, free: 30.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1529, allocations: 0 / 0.6338 GB, free: 30.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.344e-05/0.153, allocations: 41.62 kB / 0.6338 GB, free: 30.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.153, allocations: 6.188 kB / 0.6338 GB, free: 30.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.153, allocations: 96 / 0.6338 GB, free: 30.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.153, allocations: 7.938 kB / 0.6338 GB, free: 30.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/0.1531, allocations: 7.984 kB / 0.6338 GB, free: 30.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1531, allocations: 0 / 0.6338 GB, free: 30.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.1531, allocations: 0 / 0.6338 GB, free: 30.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.1532, allocations: 3.984 kB / 0.6338 GB, free: 30.6 MB / 442.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 4.76e-05/0.1532, allocations: 113.8 kB / 0.6339 GB, free: 30.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-06/0.1532, allocations: 4 kB / 0.6339 GB, free: 30.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.356e-05/0.1533, allocations: 44.75 kB / 0.634 GB, free: 30.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1533, allocations: 0 / 0.634 GB, free: 30.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.1533, allocations: 4 kB / 0.634 GB, free: 30.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1533, allocations: 0 / 0.634 GB, free: 30.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.516e-05/0.1534, allocations: 153.6 kB / 0.6341 GB, free: 30.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1534, allocations: 0 / 0.6341 GB, free: 30.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.922e-05/0.1534, allocations: 7.938 kB / 0.6341 GB, free: 30.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1534, allocations: 0 / 0.6341 GB, free: 30.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1535, allocations: 3.938 kB / 0.6341 GB, free: 30.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1535, allocations: 4.031 kB / 0.6341 GB, free: 30.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1535, allocations: 0 / 0.6341 GB, free: 30.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.1536, allocations: 0.6084 MB / 0.6347 GB, free: 29.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.1537, allocations: 81.02 kB / 0.6348 GB, free: 29.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.1537, allocations: 0 / 0.6348 GB, free: 29.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.307e-05/0.1537, allocations: 3.984 kB / 0.6348 GB, free: 29.44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.1537, allocations: 4.031 kB / 0.6348 GB, free: 29.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.1537, allocations: 4 kB / 0.6348 GB, free: 29.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.098e-05/0.1537, allocations: 75.28 kB / 0.6349 GB, free: 29.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1537, allocations: 0 / 0.6349 GB, free: 29.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003119/0.1541, allocations: 4 kB / 0.6349 GB, free: 29.35 MB / 442.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 0.0001377/0.1542, allocations: 99.25 kB / 0.635 GB, free: 29.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.371e-05/0.1543, allocations: 4 kB / 0.635 GB, free: 29.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1543, allocations: 4.062 kB / 0.635 GB, free: 29.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.587e-06/0.1543, allocations: 11.92 kB / 0.635 GB, free: 29.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.1544, allocations: 7.938 kB / 0.635 GB, free: 29.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000215/0.1547, allocations: 173.7 kB / 0.6352 GB, free: 29.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.718e-05/0.1548, allocations: 0.6692 MB / 0.6358 GB, free: 28.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.962e-05/0.1548, allocations: 12.05 kB / 0.6358 GB, free: 28.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.1548, allocations: 7.438 kB / 0.6359 GB, free: 28.29 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1548, allocations: 0 / 0.6359 GB, free: 28.29 MB / 442.7 MB Notification: Performance of Templates: time 0.002052/0.1569, allocations: 301.2 kB / 0.6361 GB, free: 28 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)