Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 104 kB / 16.4 MB, free: 6.48 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.0011/0.0011, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7191/0.7191, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 68.17 kB / 0.5577 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1469, allocations: 76.18 MB / 0.6321 GB, free: 4.5 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002283/0.1492, allocations: 1.438 MB / 0.6335 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002661/0.1495, allocations: 88.59 kB / 0.6336 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.1495, allocations: 0 / 0.6336 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.007e-05/0.1496, allocations: 0 / 0.6336 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.487e-05/0.1496, allocations: 15.88 kB / 0.6336 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.1499, allocations: 15.98 kB / 0.6336 GB, free: 2.93 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.702e-05/0.1499, allocations: 27.91 kB / 0.6336 GB, free: 2.902 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.527e-05/0.15, allocations: 7.984 kB / 0.6336 GB, free: 2.895 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.329e-05/0.15, allocations: 8 kB / 0.6336 GB, free: 2.887 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.487e-05/0.1501, allocations: 11.92 kB / 0.6336 GB, free: 2.875 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.1501, allocations: 4 kB / 0.6337 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.655e-05/0.1502, allocations: 19.92 kB / 0.6337 GB, free: 2.852 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.103e-05/0.1502, allocations: 4 kB / 0.6337 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.1502, allocations: 15.92 kB / 0.6337 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.1504, allocations: 43.89 kB / 0.6337 GB, free: 2.789 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1504, allocations: 0 / 0.6337 GB, free: 2.789 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1504, allocations: 3.938 kB / 0.6337 GB, free: 2.785 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1504, allocations: 0 / 0.6337 GB, free: 2.785 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003909/0.1508, allocations: 347.4 kB / 0.6341 GB, free: 2.395 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1508, allocations: 8.031 kB / 0.6341 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.1509, allocations: 4.938 kB / 0.6341 GB, free: 2.383 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.151, allocations: 164.3 kB / 0.6342 GB, free: 2.184 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.151, allocations: 4.375 kB / 0.6342 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.151, allocations: 8.312 kB / 0.6342 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1512, allocations: 50.23 kB / 0.6343 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1512, allocations: 192 / 0.6343 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1512, allocations: 7.875 kB / 0.6343 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1512, allocations: 0 / 0.6343 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.1514, allocations: 35.95 kB / 0.6343 GB, free: 2.074 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.1517, allocations: 257 kB / 0.6346 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.1518, allocations: 42.5 kB / 0.6346 GB, free: 1.723 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/0.1519, allocations: 24.91 kB / 0.6346 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.1519, allocations: 7.984 kB / 0.6347 GB, free: 1.688 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.152, allocations: 34.5 kB / 0.6347 GB, free: 1.645 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.152, allocations: 4 kB / 0.6347 GB, free: 1.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003362/0.1523, allocations: 85.64 kB / 0.6348 GB, free: 1.551 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1524, allocations: 51.41 kB / 0.6348 GB, free: 1.488 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.484e-05/0.1524, allocations: 109.8 kB / 0.6349 GB, free: 1.371 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.1525, allocations: 25.7 kB / 0.635 GB, free: 1.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.1525, allocations: 80.27 kB / 0.635 GB, free: 1.258 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1525, allocations: 19.84 kB / 0.635 GB, free: 1.238 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.1526, allocations: 9.719 kB / 0.6351 GB, free: 1.223 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.1527, allocations: 318.8 kB / 0.6354 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.1528, allocations: 15.98 kB / 0.6354 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.302e-05/0.1528, allocations: 19.98 kB / 0.6354 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.153, allocations: 48.81 kB / 0.6354 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.153, allocations: 0 / 0.6354 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001938/0.1532, allocations: 77.5 kB / 0.6355 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1532, allocations: 5.719 kB / 0.6355 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1532, allocations: 0 / 0.6355 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1532, allocations: 0 / 0.6355 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.1533, allocations: 8 kB / 0.6355 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1533, allocations: 4.031 kB / 0.6355 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.1534, allocations: 7.984 kB / 0.6355 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.1534, allocations: 0 / 0.6355 GB, free: 0.7109 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 (2): * Single equations (assignments): 2 * 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 7.412e-05/0.1535, allocations: 118.4 kB / 0.6357 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.1535, allocations: 0 / 0.6357 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.1538, allocations: 81.11 kB / 0.6357 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1538, allocations: 7.969 kB / 0.6357 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1538, allocations: 7.938 kB / 0.6357 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1538, allocations: 0 / 0.6357 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.1539, allocations: 161.6 kB / 0.6359 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1539, allocations: 0 / 0.6359 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.154, allocations: 8 kB / 0.6359 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.154, allocations: 3.984 kB / 0.6359 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.154, allocations: 0 / 0.6359 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.154, allocations: 3.984 kB / 0.6359 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.154, allocations: 0 / 0.6359 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.1543, allocations: 175.4 kB / 0.6361 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.1543, allocations: 81.02 kB / 0.6362 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.1543, allocations: 4 kB / 0.6362 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.1544, allocations: 3.984 kB / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.1544, allocations: 4 kB / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.1545, allocations: 256 / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.325e-05/0.1545, allocations: 91.31 kB / 0.6363 GB, free: 15.87 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1545, allocations: 0 / 0.6363 GB, free: 15.87 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.1547, allocations: 8 kB / 0.6363 GB, free: 15.86 MB / 494.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 (2): * Single equations (assignments): 2 * 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.0001174/0.1548, allocations: 103.2 kB / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.1551, allocations: 39.95 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1551, allocations: 0 / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.392e-05/0.1552, allocations: 27.98 kB / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1554, allocations: 7.938 kB / 0.6364 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000228/0.1556, allocations: 113.6 kB / 0.6365 GB, free: 15.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.1559, allocations: 0.6768 MB / 0.6372 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.044e-05/0.1559, allocations: 0 / 0.6372 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.1559, allocations: 11.44 kB / 0.6372 GB, free: 14.83 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1559, allocations: 4.062 kB / 0.6372 GB, free: 14.82 MB / 494.1 MB Notification: Performance of Templates: time 0.002374/0.1583, allocations: 0.5361 MB / 0.6377 GB, free: 14.29 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)