Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008821/0.0008821, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009266/0.0009267, allocations: 177.3 kB / 15.94 MB, free: 228 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.234/1.234, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001724/0.001724, allocations: 266.6 kB / 291.2 MB, free: 2 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.7708/0.7708, allocations: 144.6 MB / 487 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.000369, allocations: 15.67 kB / 0.5683 GB, free: 38.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1376, allocations: 83.08 MB / 0.6494 GB, free: 3.641 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00113/0.1387, allocations: 0.9773 MB / 0.6504 GB, free: 2.652 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004235/0.1392, allocations: 254.2 kB / 0.6506 GB, free: 2.406 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.393e-05/0.1392, allocations: 0 / 0.6506 GB, free: 2.406 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.1392, allocations: 3.984 kB / 0.6506 GB, free: 2.402 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.659e-05/0.1393, allocations: 4 kB / 0.6506 GB, free: 2.398 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.1395, allocations: 44.86 kB / 0.6507 GB, free: 2.355 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.951e-05/0.1395, allocations: 14.27 kB / 0.6507 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.1396, allocations: 0 / 0.6507 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.029e-05/0.1396, allocations: 11.98 kB / 0.6507 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/0.1397, allocations: 11.92 kB / 0.6507 GB, free: 2.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.1397, allocations: 0 / 0.6507 GB, free: 2.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1398, allocations: 55.89 kB / 0.6508 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-06/0.1398, allocations: 8.5 kB / 0.6508 GB, free: 2.258 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.1398, allocations: 26.3 kB / 0.6508 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.271e-05/0.1399, allocations: 31.97 kB / 0.6508 GB, free: 2.195 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.1399, allocations: 1.469 kB / 0.6508 GB, free: 2.195 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1399, allocations: 0 / 0.6508 GB, free: 2.195 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.14, allocations: 0 / 0.6508 GB, free: 2.195 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002922/0.1403, allocations: 336.3 kB / 0.6511 GB, free: 1.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.1403, allocations: 8.781 kB / 0.6512 GB, free: 1.812 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.1405, allocations: 16.7 kB / 0.6512 GB, free: 1.797 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.063e-05/0.1406, allocations: 170.9 kB / 0.6513 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1406, allocations: 4.484 kB / 0.6513 GB, free: 1.586 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.1406, allocations: 4.969 kB / 0.6513 GB, free: 1.582 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.607e-05/0.1407, allocations: 41.69 kB / 0.6514 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.1407, allocations: 1.469 kB / 0.6514 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.1408, allocations: 0 / 0.6514 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1408, allocations: 4 kB / 0.6514 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.949e-05/0.1408, allocations: 19.98 kB / 0.6514 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.141, allocations: 162.4 kB / 0.6516 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.1427, allocations: 270.1 kB / 0.6518 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.1428, allocations: 8.875 kB / 0.6518 GB, free: 1.031 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1428, allocations: 35.31 kB / 0.6519 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1428, allocations: 7.875 kB / 0.6519 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001192/0.1429, allocations: 58.38 kB / 0.6519 GB, free: 0.918 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.1429, allocations: 57.31 kB / 0.652 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.84e-05/0.143, allocations: 89.86 kB / 0.6521 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.143, allocations: 25.7 kB / 0.6521 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.274e-05/0.143, allocations: 84.77 kB / 0.6522 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1431, allocations: 13.81 kB / 0.6522 GB, free: 0.625 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.1431, allocations: 7.938 kB / 0.6522 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.1432, allocations: 314.8 kB / 0.6525 GB, free: 308 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.1432, allocations: 8 kB / 0.6525 GB, free: 300 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.594e-05/0.1432, allocations: 12 kB / 0.6525 GB, free: 288 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.109e-05/0.1433, allocations: 8.656 kB / 0.6525 GB, free: 280 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1433, allocations: 3.469 kB / 0.6525 GB, free: 280 kB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.274e-05/0.1433, allocations: 57.64 kB / 0.6526 GB, free: 216 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.138e-06/0.1434, allocations: 4 kB / 0.6526 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/0.1434, allocations: 0 / 0.6526 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/0.1434, allocations: 0 / 0.6526 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.373e-05/0.1434, allocations: 11.98 kB / 0.6526 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.1434, allocations: 0 / 0.6526 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.1435, allocations: 0 / 0.6526 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-06/0.1435, allocations: 0 / 0.6526 GB, free: 200 kB / 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 (4): * Single equations (assignments): 4 * 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 7.028e-05/0.1436, allocations: 118.7 kB / 0.6527 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-06/0.1436, allocations: 3.953 kB / 0.6527 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.1436, allocations: 8.156 kB / 0.6527 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1436, allocations: 1.469 kB / 0.6527 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1436, allocations: 0 / 0.6527 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-06/0.1436, allocations: 336 / 0.6527 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.1437, allocations: 157.7 kB / 0.6529 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1437, allocations: 1.094 kB / 0.6529 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.1438, allocations: 7.984 kB / 0.6529 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.1438, allocations: 7.938 kB / 0.6529 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.1438, allocations: 4.125 kB / 0.6529 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1438, allocations: 4 kB / 0.6529 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1438, allocations: 0 / 0.6529 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.794e-05/0.1439, allocations: 84.97 kB / 0.653 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.144, allocations: 81.05 kB / 0.6531 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.144, allocations: 3.953 kB / 0.6531 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.05e-05/0.1441, allocations: 7.984 kB / 0.6531 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-06/0.1441, allocations: 0 / 0.6531 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.1441, allocations: 4 kB / 0.6531 GB, free: 15.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.79e-05/0.1441, allocations: 83.28 kB / 0.6531 GB, free: 15.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1441, allocations: 0 / 0.6531 GB, free: 15.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001696/0.1443, allocations: 7.938 kB / 0.6532 GB, free: 15.53 MB / 462.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 (4): * Single equations (assignments): 4 * 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 8.634e-05/0.1444, allocations: 95.25 kB / 0.6532 GB, free: 15.42 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.152e-05/0.1445, allocations: 27.98 kB / 0.6533 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1445, allocations: 0 / 0.6533 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.086e-05/0.1445, allocations: 16.03 kB / 0.6533 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.1447, allocations: 11.98 kB / 0.6533 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.1449, allocations: 133.6 kB / 0.6534 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.1452, allocations: 0.677 MB / 0.6541 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.859e-05/0.1452, allocations: 8 kB / 0.6541 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.1452, allocations: 7.438 kB / 0.6541 GB, free: 14.49 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1452, allocations: 0 / 0.6541 GB, free: 14.49 MB / 462.1 MB Notification: Performance of Templates: time 0.002075/0.1473, allocations: 485.1 kB / 0.6546 GB, free: 14.02 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: