Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009092/0.0009093, 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.0009449/0.0009448, allocations: 177.3 kB / 15.95 MB, free: 216 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.19/1.19, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001643/0.001643, allocations: 273.4 kB / 291.3 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.7342/0.7342, allocations: 144.6 MB / 487 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003872, allocations: 11.31 kB / 0.5683 GB, free: 38.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1391, allocations: 83.08 MB / 0.6494 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001245/0.1404, allocations: 0.9812 MB / 0.6504 GB, free: 2.613 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1416, allocations: 0.7847 MB / 0.6512 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.1416, allocations: 6.594 kB / 0.6512 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.1416, allocations: 0 / 0.6512 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.057e-05/0.1417, allocations: 3.984 kB / 0.6512 GB, free: 1.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.1422, allocations: 155.7 kB / 0.6513 GB, free: 1.672 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.054e-05/0.1422, allocations: 15.97 kB / 0.6513 GB, free: 1.656 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.1423, allocations: 0.6562 kB / 0.6513 GB, free: 1.656 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.394e-05/0.1423, allocations: 12.47 kB / 0.6513 GB, free: 1.645 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.037e-05/0.1424, allocations: 7.984 kB / 0.6514 GB, free: 1.637 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.1424, allocations: 1 kB / 0.6514 GB, free: 1.637 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.1427, allocations: 171.8 kB / 0.6515 GB, free: 1.469 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.254e-06/0.1427, allocations: 1.656 kB / 0.6515 GB, free: 1.469 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.1427, allocations: 25.7 kB / 0.6515 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1429, allocations: 111.8 kB / 0.6516 GB, free: 1.328 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.1429, allocations: 0 / 0.6516 GB, free: 1.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1429, allocations: 4.688 kB / 0.6517 GB, free: 1.324 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.1429, allocations: 0 / 0.6517 GB, free: 1.324 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.0003616/0.1433, allocations: 349.7 kB / 0.652 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1433, allocations: 8.031 kB / 0.652 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.1435, allocations: 15.89 kB / 0.652 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.703e-05/0.1436, allocations: 167 kB / 0.6522 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1436, allocations: 0.6562 kB / 0.6522 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.1436, allocations: 4 kB / 0.6522 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.1438, allocations: 42.38 kB / 0.6522 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1438, allocations: 0.5938 kB / 0.6522 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1438, allocations: 4 kB / 0.6522 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1438, allocations: 1.031 kB / 0.6522 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.628e-05/0.1438, allocations: 15.98 kB / 0.6522 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.144, allocations: 159.4 kB / 0.6524 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000799/0.1448, allocations: 122.3 kB / 0.6525 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.1449, allocations: 85.81 kB / 0.6526 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.145, allocations: 35.22 kB / 0.6526 GB, free: 172 kB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/0.145, allocations: 0.875 kB / 0.6526 GB, free: 172 kB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001584/0.1451, allocations: 57.69 kB / 0.6527 GB, free: 108 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.1452, allocations: 51.97 kB / 0.6527 GB, free: 44 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.1453, allocations: 103.8 kB / 0.6528 GB, free: 15.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1453, allocations: 25.7 kB / 0.6528 GB, free: 15.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.1453, allocations: 80.14 kB / 0.6529 GB, free: 15.82 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.1454, allocations: 15.69 kB / 0.6529 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.1454, allocations: 4.5 kB / 0.6529 GB, free: 15.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.1455, allocations: 315.4 kB / 0.6532 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.1455, allocations: 8.859 kB / 0.6533 GB, free: 15.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.1455, allocations: 8 kB / 0.6533 GB, free: 15.47 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.555e-05/0.1455, allocations: 12.69 kB / 0.6533 GB, free: 15.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1455, allocations: 0 / 0.6533 GB, free: 15.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.72e-05/0.1456, allocations: 59.8 kB / 0.6533 GB, free: 15.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1457, allocations: 8 kB / 0.6533 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1457, allocations: 0 / 0.6533 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1457, allocations: 336 / 0.6533 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.413e-05/0.1457, allocations: 7.984 kB / 0.6533 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1458, allocations: 0 / 0.6533 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.1458, allocations: 4.625 kB / 0.6533 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1458, allocations: 1.312 kB / 0.6533 GB, free: 15.38 MB / 462.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 6.623e-05/0.1459, allocations: 105.8 kB / 0.6534 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.1459, allocations: 12.95 kB / 0.6535 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.1461, allocations: 88.11 kB / 0.6535 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1461, allocations: 0 / 0.6535 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1462, allocations: 3.938 kB / 0.6536 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1462, allocations: 0 / 0.6536 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.1463, allocations: 161.7 kB / 0.6537 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1463, allocations: 2.125 kB / 0.6537 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-05/0.1463, allocations: 19.98 kB / 0.6537 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1463, allocations: 3.953 kB / 0.6537 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1464, allocations: 0 / 0.6537 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1464, allocations: 0 / 0.6537 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1464, allocations: 0.625 kB / 0.6537 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.1465, allocations: 86.78 kB / 0.6538 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.1465, allocations: 85.09 kB / 0.6539 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1465, allocations: 3.953 kB / 0.6539 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.387e-05/0.1466, allocations: 0.8438 kB / 0.6539 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.1466, allocations: 4 kB / 0.6539 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1466, allocations: 8.125 kB / 0.6539 GB, free: 14.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.245e-05/0.1467, allocations: 79.28 kB / 0.654 GB, free: 14.63 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1467, allocations: 3.938 kB / 0.654 GB, free: 14.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.1469, allocations: 47.98 kB / 0.654 GB, free: 14.58 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 (5): * Single equations (assignments): 5 * 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.0003297/0.1472, allocations: 157.5 kB / 0.6542 GB, free: 14.42 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.121e-05/0.1473, allocations: 36.02 kB / 0.6542 GB, free: 14.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1473, allocations: 0 / 0.6542 GB, free: 14.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.1474, allocations: 12 kB / 0.6542 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.1475, allocations: 10.38 kB / 0.6542 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.1478, allocations: 132.6 kB / 0.6544 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.148, allocations: 0.677 MB / 0.655 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.727e-05/0.1481, allocations: 15.94 kB / 0.655 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.1481, allocations: 11.42 kB / 0.6551 GB, free: 13.48 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1481, allocations: 0 / 0.6551 GB, free: 13.48 MB / 462.1 MB Notification: Performance of Templates: time 0.003015/0.1511, allocations: 1.025 MB / 0.6561 GB, free: 12.46 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) Environment - environmentSimulation: