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.001269/0.001269, allocations: 105.8 kB / 16.4 MB, free: 6.023 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.001187/0.001187, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7436/0.7436, allocations: 115.3 MB / 406.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 68.27 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1597, allocations: 76.18 MB / 0.6321 GB, free: 4.344 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.0016/0.1614, allocations: 0.5689 MB / 0.6327 GB, free: 3.777 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002326/0.1616, allocations: 31.88 kB / 0.6327 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.641e-05/0.1616, allocations: 4 kB / 0.6327 GB, free: 3.742 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.1617, allocations: 0 / 0.6327 GB, free: 3.742 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.091e-06/0.1617, allocations: 0 / 0.6327 GB, free: 3.742 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.162, allocations: 11.94 kB / 0.6327 GB, free: 3.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.431e-05/0.162, allocations: 7.984 kB / 0.6327 GB, free: 3.723 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.1621, allocations: 0 / 0.6327 GB, free: 3.723 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.656e-05/0.1621, allocations: 3.938 kB / 0.6327 GB, free: 3.719 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.462e-05/0.1622, allocations: 7.984 kB / 0.6327 GB, free: 3.711 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1622, allocations: 3.938 kB / 0.6327 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.772e-05/0.1623, allocations: 15.98 kB / 0.6328 GB, free: 3.691 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.328e-06/0.1623, allocations: 0 / 0.6328 GB, free: 3.691 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.1623, allocations: 4 kB / 0.6328 GB, free: 3.688 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.1624, allocations: 19.97 kB / 0.6328 GB, free: 3.668 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1624, allocations: 3.938 kB / 0.6328 GB, free: 3.664 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1624, allocations: 0 / 0.6328 GB, free: 3.664 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.1625, allocations: 4 kB / 0.6328 GB, free: 3.66 MB / 478.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.0003106/0.1628, allocations: 307.6 kB / 0.6331 GB, free: 3.309 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1628, allocations: 12.03 kB / 0.6331 GB, free: 3.297 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.1629, allocations: 0.9375 kB / 0.6331 GB, free: 3.297 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.163, allocations: 168.4 kB / 0.6333 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.163, allocations: 384 / 0.6333 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.163, allocations: 384 / 0.6333 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.228e-05/0.1631, allocations: 30.27 kB / 0.6333 GB, free: 3.059 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1631, allocations: 192 / 0.6333 GB, free: 3.059 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1631, allocations: 3.938 kB / 0.6333 GB, free: 3.055 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1631, allocations: 0 / 0.6333 GB, free: 3.055 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.1631, allocations: 4 kB / 0.6333 GB, free: 3.051 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.1633, allocations: 149.7 kB / 0.6334 GB, free: 2.855 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.602e-05/0.1634, allocations: 22.52 kB / 0.6335 GB, free: 2.824 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.1634, allocations: 8.953 kB / 0.6335 GB, free: 2.812 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/0.1635, allocations: 0 / 0.6335 GB, free: 2.812 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1635, allocations: 30.56 kB / 0.6335 GB, free: 2.773 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1635, allocations: 0 / 0.6335 GB, free: 2.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001494/0.1637, allocations: 45.58 kB / 0.6335 GB, free: 2.723 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.1637, allocations: 55.34 kB / 0.6336 GB, free: 2.656 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.944e-05/0.1638, allocations: 93.84 kB / 0.6337 GB, free: 2.555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.1638, allocations: 25.7 kB / 0.6337 GB, free: 2.523 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.1638, allocations: 84.14 kB / 0.6338 GB, free: 2.438 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.1639, allocations: 0 / 0.6338 GB, free: 2.438 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.1639, allocations: 14.06 kB / 0.6338 GB, free: 2.418 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.164, allocations: 310.8 kB / 0.6341 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.164, allocations: 4.125 kB / 0.6341 GB, free: 2.102 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-06/0.1641, allocations: 4 kB / 0.6341 GB, free: 2.098 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.522e-05/0.1641, allocations: 4.859 kB / 0.6341 GB, free: 2.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1641, allocations: 4 kB / 0.6341 GB, free: 2.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.535e-05/0.1642, allocations: 41.62 kB / 0.6341 GB, free: 2.039 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1642, allocations: 4 kB / 0.6342 GB, free: 2.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1642, allocations: 0 / 0.6342 GB, free: 2.035 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1642, allocations: 7.875 kB / 0.6342 GB, free: 2.027 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.1643, allocations: 8.094 kB / 0.6342 GB, free: 2.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1643, allocations: 0 / 0.6342 GB, free: 2.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.1643, allocations: 3.906 kB / 0.6342 GB, free: 2.016 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.1643, allocations: 4 kB / 0.6342 GB, free: 2.012 MB / 478.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.51e-05/0.1644, allocations: 105.8 kB / 0.6343 GB, free: 1.898 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-06/0.1644, allocations: 0 / 0.6343 GB, free: 1.898 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.1645, allocations: 52.75 kB / 0.6343 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1645, allocations: 0 / 0.6343 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1645, allocations: 0 / 0.6343 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1645, allocations: 4 kB / 0.6343 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.1647, allocations: 149.7 kB / 0.6345 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1647, allocations: 3.938 kB / 0.6345 GB, free: 1.637 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.1647, allocations: 4 kB / 0.6345 GB, free: 1.633 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1647, allocations: 0 / 0.6345 GB, free: 1.633 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1647, allocations: 3.938 kB / 0.6345 GB, free: 1.629 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1647, allocations: 0 / 0.6345 GB, free: 1.629 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1647, allocations: 0 / 0.6345 GB, free: 1.629 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.172e-05/0.1648, allocations: 65.16 kB / 0.6345 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.1648, allocations: 77.11 kB / 0.6346 GB, free: 1.453 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.1649, allocations: 3.938 kB / 0.6346 GB, free: 1.449 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.786e-05/0.1649, allocations: 0 / 0.6346 GB, free: 1.449 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.1649, allocations: 7.938 kB / 0.6346 GB, free: 1.441 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1649, allocations: 0 / 0.6346 GB, free: 1.441 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.16e-05/0.165, allocations: 79.28 kB / 0.6347 GB, free: 1.363 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.165, allocations: 4.031 kB / 0.6347 GB, free: 1.359 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001979/0.1652, allocations: 4 kB / 0.6347 GB, free: 1.355 MB / 478.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 (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.0001868/0.1654, allocations: 111.2 kB / 0.6348 GB, free: 1.234 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 8.041e-05/0.1654, allocations: 11.94 kB / 0.6348 GB, free: 1.223 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1654, allocations: 0 / 0.6348 GB, free: 1.223 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.187e-06/0.1655, allocations: 4 kB / 0.6348 GB, free: 1.219 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.1656, allocations: 6.391 kB / 0.6348 GB, free: 1.215 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.1659, allocations: 85.19 kB / 0.6349 GB, free: 1.105 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.1662, allocations: 0.6729 MB / 0.6356 GB, free: 416 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.389e-05/0.1662, allocations: 0 / 0.6356 GB, free: 416 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.1662, allocations: 11.44 kB / 0.6356 GB, free: 404 kB / 478.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1662, allocations: 0 / 0.6356 GB, free: 404 kB / 478.1 MB Notification: Performance of Templates: time 0.002552/0.1688, allocations: 284.8 kB / 0.6359 GB, free: 120 kB / 478.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)