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.001073/0.001073, allocations: 118.2 kB / 17.09 MB, free: 5.984 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.001116/0.001117, allocations: 197.8 kB / 18.02 MB, free: 5.066 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.294/1.294, 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.7511/0.7511, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 68 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.139, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002613/0.1417, allocations: 1.416 MB / 0.6341 GB, free: 2.977 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003297/0.142, allocations: 96.58 kB / 0.6342 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.1421, allocations: 4 kB / 0.6342 GB, free: 2.875 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.263e-05/0.1421, allocations: 7.922 kB / 0.6342 GB, free: 2.867 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.742e-05/0.1422, allocations: 4 kB / 0.6342 GB, free: 2.863 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.1425, allocations: 19.92 kB / 0.6343 GB, free: 2.844 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.677e-05/0.1426, allocations: 23.86 kB / 0.6343 GB, free: 2.82 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.542e-05/0.1426, allocations: 8 kB / 0.6343 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.1427, allocations: 4 kB / 0.6343 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/0.1427, allocations: 19.91 kB / 0.6343 GB, free: 2.789 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1428, allocations: 0 / 0.6343 GB, free: 2.789 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.323e-05/0.1429, allocations: 23.98 kB / 0.6343 GB, free: 2.766 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.1429, allocations: 7.984 kB / 0.6343 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.1429, allocations: 11.94 kB / 0.6343 GB, free: 2.746 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.1431, allocations: 35.89 kB / 0.6344 GB, free: 2.711 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1431, allocations: 0 / 0.6344 GB, free: 2.711 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1431, allocations: 0 / 0.6344 GB, free: 2.711 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.1431, allocations: 0 / 0.6344 GB, free: 2.711 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.0005103/0.1436, allocations: 343.4 kB / 0.6347 GB, free: 2.324 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1437, allocations: 8.031 kB / 0.6347 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.1437, allocations: 8.938 kB / 0.6347 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.1438, allocations: 176.2 kB / 0.6349 GB, free: 2.098 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1439, allocations: 384 / 0.6349 GB, free: 2.098 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.1439, allocations: 384 / 0.6349 GB, free: 2.098 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1441, allocations: 54.23 kB / 0.6349 GB, free: 2.039 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.1441, allocations: 4.125 kB / 0.635 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1441, allocations: 3.938 kB / 0.635 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1441, allocations: 0 / 0.635 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.1443, allocations: 35.97 kB / 0.635 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.1446, allocations: 257 kB / 0.6352 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1447, allocations: 50.42 kB / 0.6353 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.1448, allocations: 20.91 kB / 0.6353 GB, free: 1.613 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.1449, allocations: 3.938 kB / 0.6353 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.1449, allocations: 42.56 kB / 0.6353 GB, free: 1.559 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.1449, allocations: 0 / 0.6353 GB, free: 1.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003744/0.1453, allocations: 81.64 kB / 0.6354 GB, free: 1.473 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.1454, allocations: 55.34 kB / 0.6355 GB, free: 1.406 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/0.1454, allocations: 113.8 kB / 0.6356 GB, free: 1.285 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1455, allocations: 29.83 kB / 0.6356 GB, free: 1.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.1455, allocations: 80.14 kB / 0.6357 GB, free: 1.168 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.1456, allocations: 11.83 kB / 0.6357 GB, free: 1.156 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.1456, allocations: 17.72 kB / 0.6357 GB, free: 1.133 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1457, allocations: 310.8 kB / 0.636 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/0.1458, allocations: 19.98 kB / 0.636 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.1459, allocations: 19.97 kB / 0.6361 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.146, allocations: 44.89 kB / 0.6361 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.146, allocations: 0 / 0.6361 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001932/0.1462, allocations: 81.44 kB / 0.6362 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1463, allocations: 4 kB / 0.6362 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1463, allocations: 0 / 0.6362 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1463, allocations: 4.031 kB / 0.6362 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.889e-05/0.1464, allocations: 11.98 kB / 0.6362 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1464, allocations: 0 / 0.6362 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.1465, allocations: 7.984 kB / 0.6362 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.1465, allocations: 0 / 0.6362 GB, free: 0.6211 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 9.247e-05/0.1466, allocations: 113.8 kB / 0.6363 GB, free: 0.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.1466, allocations: 4 kB / 0.6363 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.1468, allocations: 73.19 kB / 0.6364 GB, free: 424 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1468, allocations: 3.984 kB / 0.6364 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1469, allocations: 0 / 0.6364 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1469, allocations: 0 / 0.6364 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.147, allocations: 173.5 kB / 0.6366 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.147, allocations: 3.938 kB / 0.6366 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.1471, allocations: 11.98 kB / 0.6366 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1471, allocations: 0 / 0.6366 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1471, allocations: 0 / 0.6366 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1471, allocations: 32 / 0.6366 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1471, allocations: 4 kB / 0.6366 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.1474, allocations: 167.5 kB / 0.6367 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.1474, allocations: 81.02 kB / 0.6368 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.1475, allocations: 256 / 0.6368 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.1475, allocations: 11.98 kB / 0.6368 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.1476, allocations: 8.031 kB / 0.6368 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1476, allocations: 0 / 0.6368 GB, free: 15.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.936e-05/0.1476, allocations: 91.2 kB / 0.6369 GB, free: 15.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1476, allocations: 0 / 0.6369 GB, free: 15.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.1479, allocations: 8 kB / 0.6369 GB, free: 15.77 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.0001397/0.148, allocations: 103.2 kB / 0.637 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.1482, allocations: 43.95 kB / 0.6371 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1483, allocations: 0 / 0.6371 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.1483, allocations: 19.98 kB / 0.6371 GB, free: 15.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.1486, allocations: 11.92 kB / 0.6371 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.149, allocations: 135.3 kB / 0.6372 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.1492, allocations: 0.6807 MB / 0.6379 GB, free: 14.72 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.1493, allocations: 7.562 kB / 0.6379 GB, free: 14.71 MB / 494.1 MB Notification: Performance of SimCode: time 2.194e-06/0.1493, allocations: 4 kB / 0.6379 GB, free: 14.71 MB / 494.1 MB Notification: Performance of Templates: time 0.002215/0.1515, allocations: 0.6675 MB / 0.6386 GB, free: 14.04 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)