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.001174/0.001175, allocations: 117.3 kB / 17.09 MB, free: 6.012 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.001578/0.001578, allocations: 195 kB / 18.02 MB, free: 5.094 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.308/1.308, allocations: 222.9 MB / 241.7 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.6977/0.6977, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 70.44 kB / 0.5583 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1287, allocations: 76.17 MB / 0.6327 GB, free: 4.297 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002744/0.1315, allocations: 1.42 MB / 0.6341 GB, free: 2.863 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003212/0.1318, allocations: 100.6 kB / 0.6342 GB, free: 2.762 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.1319, allocations: 3.938 kB / 0.6342 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.695e-05/0.1319, allocations: 0 / 0.6342 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.659e-05/0.132, allocations: 7.938 kB / 0.6342 GB, free: 2.75 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.1322, allocations: 11.98 kB / 0.6342 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.767e-05/0.1323, allocations: 27.86 kB / 0.6343 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.1324, allocations: 11.97 kB / 0.6343 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.299e-05/0.1324, allocations: 11.98 kB / 0.6343 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.085e-05/0.1325, allocations: 15.92 kB / 0.6343 GB, free: 2.672 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1325, allocations: 4 kB / 0.6343 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.409e-05/0.1326, allocations: 23.92 kB / 0.6343 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.1327, allocations: 4 kB / 0.6343 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.1327, allocations: 15.92 kB / 0.6344 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.1328, allocations: 35.89 kB / 0.6344 GB, free: 2.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1328, allocations: 0 / 0.6344 GB, free: 2.59 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1329, allocations: 0 / 0.6344 GB, free: 2.59 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.1329, allocations: 0 / 0.6344 GB, free: 2.59 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.0004491/0.1333, allocations: 343.4 kB / 0.6347 GB, free: 2.203 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1334, allocations: 12.03 kB / 0.6347 GB, free: 2.191 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.1334, allocations: 0.9375 kB / 0.6347 GB, free: 2.191 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1335, allocations: 172.3 kB / 0.6349 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1336, allocations: 4.375 kB / 0.6349 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.1336, allocations: 384 / 0.6349 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1338, allocations: 58.17 kB / 0.635 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1338, allocations: 4.125 kB / 0.635 GB, free: 1.914 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1338, allocations: 3.938 kB / 0.635 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1338, allocations: 0 / 0.635 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.134, allocations: 39.95 kB / 0.635 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.1343, allocations: 249 kB / 0.6352 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1345, allocations: 42.5 kB / 0.6353 GB, free: 1.527 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.505e-05/0.1346, allocations: 32.89 kB / 0.6353 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.1346, allocations: 3.938 kB / 0.6353 GB, free: 1.488 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.1347, allocations: 34.56 kB / 0.6353 GB, free: 1.445 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.1347, allocations: 0 / 0.6353 GB, free: 1.445 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003592/0.135, allocations: 85.64 kB / 0.6354 GB, free: 1.355 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1351, allocations: 51.41 kB / 0.6355 GB, free: 1.293 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.1352, allocations: 110 kB / 0.6356 GB, free: 1.176 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1352, allocations: 25.7 kB / 0.6356 GB, free: 1.145 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.1352, allocations: 84.14 kB / 0.6357 GB, free: 1.059 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.1353, allocations: 7.844 kB / 0.6357 GB, free: 1.051 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.1353, allocations: 17.72 kB / 0.6357 GB, free: 1.027 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1354, allocations: 314.8 kB / 0.636 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.45e-05/0.1355, allocations: 19.98 kB / 0.636 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.019e-05/0.1356, allocations: 27.86 kB / 0.6361 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1357, allocations: 40.81 kB / 0.6361 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1358, allocations: 0 / 0.6361 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001945/0.136, allocations: 81.5 kB / 0.6362 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.136, allocations: 4 kB / 0.6362 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.136, allocations: 4.094 kB / 0.6362 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.136, allocations: 0 / 0.6362 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.079e-05/0.1361, allocations: 12.23 kB / 0.6362 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1361, allocations: 0 / 0.6362 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.1362, allocations: 8 kB / 0.6362 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1362, allocations: 0 / 0.6362 GB, free: 0.5078 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 8.029e-05/0.1363, allocations: 117.7 kB / 0.6363 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1363, allocations: 4 kB / 0.6363 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.1365, allocations: 77.19 kB / 0.6364 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1365, allocations: 0 / 0.6364 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1366, allocations: 0 / 0.6364 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1366, allocations: 0 / 0.6364 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.1367, allocations: 169.5 kB / 0.6365 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1367, allocations: 0 / 0.6365 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.094e-05/0.1368, allocations: 11.98 kB / 0.6366 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1368, allocations: 0 / 0.6366 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1368, allocations: 8.031 kB / 0.6366 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1368, allocations: 0 / 0.6366 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1368, allocations: 0 / 0.6366 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.1371, allocations: 167.4 kB / 0.6367 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.1371, allocations: 81.02 kB / 0.6368 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.1372, allocations: 0 / 0.6368 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.1372, allocations: 16.02 kB / 0.6368 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.1373, allocations: 4 kB / 0.6368 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1373, allocations: 0 / 0.6368 GB, free: 15.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.996e-05/0.1374, allocations: 87.27 kB / 0.6369 GB, free: 15.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1374, allocations: 0 / 0.6369 GB, free: 15.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.1376, allocations: 8 kB / 0.6369 GB, free: 15.67 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.0001368/0.1377, allocations: 103.2 kB / 0.637 GB, free: 15.56 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.138, allocations: 47.89 kB / 0.6371 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.138, allocations: 0 / 0.6371 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.148e-05/0.1381, allocations: 19.98 kB / 0.6371 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.1383, allocations: 9.969 kB / 0.6371 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.1386, allocations: 131.3 kB / 0.6372 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.1389, allocations: 0.6808 MB / 0.6379 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.1389, allocations: 15.38 kB / 0.6379 GB, free: 14.6 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.139, allocations: 0 / 0.6379 GB, free: 14.6 MB / 494.1 MB Notification: Performance of Templates: time 0.002098/0.1411, allocations: 0.6625 MB / 0.6385 GB, free: 13.94 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)