Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008509/0.0008508, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.0008416/0.0008416, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001679/0.001679, allocations: 274.1 kB / 291.3 MB, free: 1.996 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7644/0.7644, allocations: 144.6 MB / 487 MB, free: 7.207 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003754, allocations: 20.81 kB / 0.5683 GB, free: 38.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 83.08 MB / 0.6494 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.0005892/0.138, allocations: 305.2 kB / 0.6497 GB, free: 3.355 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001599/0.1382, allocations: 32.47 kB / 0.6498 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.067e-06/0.1382, allocations: 0 / 0.6498 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.058e-05/0.1382, allocations: 2.156 kB / 0.6498 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.16e-06/0.1382, allocations: 0 / 0.6498 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.1384, allocations: 11.98 kB / 0.6498 GB, free: 3.312 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.493e-05/0.1385, allocations: 4 kB / 0.6498 GB, free: 3.309 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.1385, allocations: 3.938 kB / 0.6498 GB, free: 3.305 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.345e-05/0.1385, allocations: 0.5625 kB / 0.6498 GB, free: 3.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.849e-05/0.1386, allocations: 3.438 kB / 0.6498 GB, free: 3.305 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.1386, allocations: 4 kB / 0.6498 GB, free: 3.301 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.9e-05/0.1387, allocations: 11.98 kB / 0.6498 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.053e-06/0.1387, allocations: 3.984 kB / 0.6498 GB, free: 3.285 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.1387, allocations: 25.7 kB / 0.6498 GB, free: 3.254 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.101e-05/0.1388, allocations: 11.98 kB / 0.6498 GB, free: 3.242 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.1388, allocations: 0 / 0.6498 GB, free: 3.242 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1388, allocations: 0 / 0.6498 GB, free: 3.242 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.1388, allocations: 0 / 0.6498 GB, free: 3.242 MB / 446.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.0002297/0.139, allocations: 317.2 kB / 0.6501 GB, free: 2.887 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.139, allocations: 8.531 kB / 0.6502 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.1391, allocations: 0.6562 kB / 0.6502 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.074e-05/0.1392, allocations: 159.1 kB / 0.6503 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1392, allocations: 12.39 kB / 0.6503 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-06/0.1392, allocations: 0.5312 kB / 0.6503 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.586e-05/0.1393, allocations: 40.03 kB / 0.6504 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.1393, allocations: 0 / 0.6504 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.1393, allocations: 0 / 0.6504 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1393, allocations: 0 / 0.6504 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.1393, allocations: 4 kB / 0.6504 GB, free: 2.625 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001178/0.1395, allocations: 142.4 kB / 0.6505 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.241e-05/0.1395, allocations: 19.17 kB / 0.6505 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.1395, allocations: 8.703 kB / 0.6505 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1396, allocations: 43.45 kB / 0.6506 GB, free: 2.352 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.1396, allocations: 0 / 0.6506 GB, free: 2.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001059/0.1397, allocations: 30.36 kB / 0.6506 GB, free: 2.316 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.1397, allocations: 56.12 kB / 0.6506 GB, free: 2.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.934e-05/0.1398, allocations: 89.86 kB / 0.6507 GB, free: 2.152 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.1398, allocations: 26.95 kB / 0.6508 GB, free: 2.121 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.143e-05/0.1398, allocations: 80.14 kB / 0.6508 GB, free: 2.039 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.1398, allocations: 4.438 kB / 0.6508 GB, free: 2.035 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-06/0.1398, allocations: 0 / 0.6508 GB, free: 2.035 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.1399, allocations: 316 kB / 0.6511 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-06/0.14, allocations: 0 / 0.6511 GB, free: 1.719 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-06/0.14, allocations: 8.609 kB / 0.6512 GB, free: 1.711 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.265e-05/0.14, allocations: 0.9062 kB / 0.6512 GB, free: 1.711 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.14, allocations: 0 / 0.6512 GB, free: 1.711 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.58e-05/0.14, allocations: 38.36 kB / 0.6512 GB, free: 1.668 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.1401, allocations: 8.828 kB / 0.6512 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.1401, allocations: 0 / 0.6512 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.1401, allocations: 0 / 0.6512 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.429e-05/0.1401, allocations: 5.375 kB / 0.6512 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.1401, allocations: 0 / 0.6512 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.1402, allocations: 0 / 0.6512 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1402, allocations: 6.453 kB / 0.6512 GB, free: 1.652 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.1402, allocations: 109.8 kB / 0.6513 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-06/0.1402, allocations: 0 / 0.6513 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.029e-05/0.1403, allocations: 49.33 kB / 0.6514 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1404, allocations: 8.859 kB / 0.6514 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1404, allocations: 3.938 kB / 0.6514 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1404, allocations: 4.594 kB / 0.6514 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.949e-05/0.1404, allocations: 141.7 kB / 0.6515 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.1405, allocations: 1.125 kB / 0.6515 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.428e-05/0.1405, allocations: 0 / 0.6515 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.1405, allocations: 4 kB / 0.6515 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.1405, allocations: 1.406 kB / 0.6515 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1405, allocations: 3.953 kB / 0.6515 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1405, allocations: 3.984 kB / 0.6515 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.496e-05/0.1406, allocations: 55.45 kB / 0.6516 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.1406, allocations: 81.11 kB / 0.6517 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.1406, allocations: 0 / 0.6517 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.449e-05/0.1406, allocations: 0.6562 kB / 0.6517 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.1406, allocations: 11.88 kB / 0.6517 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1407, allocations: 1.219 kB / 0.6517 GB, free: 1.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.633e-05/0.1407, allocations: 79.28 kB / 0.6517 GB, free: 1.012 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1407, allocations: 3.938 kB / 0.6517 GB, free: 1.008 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001776/0.1409, allocations: 7.406 kB / 0.6518 GB, free: 1.004 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001181/0.141, allocations: 103.2 kB / 0.6519 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.912e-05/0.1411, allocations: 4 kB / 0.6519 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1411, allocations: 0 / 0.6519 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.925e-06/0.1411, allocations: 4 kB / 0.6519 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.573e-05/0.1412, allocations: 0.7812 kB / 0.6519 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001457/0.1413, allocations: 75.81 kB / 0.6519 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.1415, allocations: 0.6731 MB / 0.6526 GB, free: 84 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.389e-05/0.1416, allocations: 16.27 kB / 0.6526 GB, free: 68 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.1416, allocations: 11.44 kB / 0.6526 GB, free: 56 kB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1416, allocations: 0 / 0.6526 GB, free: 56 kB / 446.1 MB Notification: Performance of Templates: time 0.00183/0.1434, allocations: 268.2 kB / 0.6529 GB, free: 15.79 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) Environment - environmentSimulation: