Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009533/0.000953, allocations: 98.69 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.001048/0.001048, 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.211/1.211, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001704/0.001704, allocations: 270.8 kB / 291.2 MB, free: 1.934 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.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 20.59 kB / 0.5683 GB, free: 38.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1379, allocations: 83.08 MB / 0.6494 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001209/0.1391, allocations: 0.9812 MB / 0.6504 GB, free: 2.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009728/0.1401, allocations: 0.7268 MB / 0.6511 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.347e-05/0.1401, allocations: 0 / 0.6511 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.084e-05/0.1401, allocations: 0 / 0.6511 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.809e-05/0.1402, allocations: 11.97 kB / 0.6511 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.1406, allocations: 109 kB / 0.6512 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.425e-05/0.1406, allocations: 21.53 kB / 0.6512 GB, free: 1.711 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.095e-05/0.1406, allocations: 7.984 kB / 0.6512 GB, free: 1.703 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.419e-05/0.1407, allocations: 4 kB / 0.6512 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.18e-05/0.1407, allocations: 15.92 kB / 0.6513 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.1407, allocations: 6.781 kB / 0.6513 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.1411, allocations: 179.7 kB / 0.6514 GB, free: 1.504 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.228e-06/0.1411, allocations: 0 / 0.6514 GB, free: 1.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.1411, allocations: 29.7 kB / 0.6515 GB, free: 1.469 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1413, allocations: 88.11 kB / 0.6515 GB, free: 1.383 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-06/0.1413, allocations: 0 / 0.6515 GB, free: 1.383 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1413, allocations: 0 / 0.6515 GB, free: 1.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.344e-06/0.1413, allocations: 0.5 kB / 0.6515 GB, free: 1.383 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.0003049/0.1416, allocations: 356.7 kB / 0.6519 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.504e-05/0.1416, allocations: 12.03 kB / 0.6519 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.1417, allocations: 1.75 kB / 0.6519 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.957e-05/0.1418, allocations: 178.9 kB / 0.6521 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.409e-05/0.1418, allocations: 29.7 kB / 0.6521 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-06/0.1418, allocations: 4 kB / 0.6521 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.1419, allocations: 42.44 kB / 0.6521 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.368e-06/0.142, allocations: 0 / 0.6521 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-06/0.142, allocations: 1.188 kB / 0.6521 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-06/0.142, allocations: 0 / 0.6521 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.096e-05/0.1421, allocations: 21.02 kB / 0.6522 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.1422, allocations: 161.6 kB / 0.6523 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.1424, allocations: 52.17 kB / 0.6524 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.1426, allocations: 179 kB / 0.6525 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1427, allocations: 35.8 kB / 0.6526 GB, free: 140 kB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1427, allocations: 0 / 0.6526 GB, free: 140 kB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002102/0.1429, allocations: 62.94 kB / 0.6526 GB, free: 72 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.1429, allocations: 59.86 kB / 0.6527 GB, free: 0 / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.326e-05/0.143, allocations: 94.48 kB / 0.6528 GB, free: 15.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.143, allocations: 29.7 kB / 0.6528 GB, free: 15.86 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.323e-05/0.1431, allocations: 80.73 kB / 0.6529 GB, free: 15.78 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.1431, allocations: 9.219 kB / 0.6529 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.1431, allocations: 4 kB / 0.6529 GB, free: 15.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1432, allocations: 318.8 kB / 0.6532 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.1432, allocations: 4.75 kB / 0.6532 GB, free: 15.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.055e-05/0.1433, allocations: 16.67 kB / 0.6532 GB, free: 15.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/0.1433, allocations: 4 kB / 0.6532 GB, free: 15.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1433, allocations: 0.7188 kB / 0.6532 GB, free: 15.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001278/0.1435, allocations: 66.5 kB / 0.6533 GB, free: 15.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1435, allocations: 5.562 kB / 0.6533 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1435, allocations: 4.656 kB / 0.6533 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.1435, allocations: 0 / 0.6533 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.39e-05/0.1436, allocations: 12.44 kB / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1436, allocations: 8.703 kB / 0.6533 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.1436, allocations: 0 / 0.6533 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.1436, allocations: 0.75 kB / 0.6533 GB, free: 15.33 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 7.16e-05/0.1437, allocations: 115.8 kB / 0.6534 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.1437, allocations: 8.375 kB / 0.6534 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.1439, allocations: 73.16 kB / 0.6535 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1439, allocations: 0.5938 kB / 0.6535 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1439, allocations: 4 kB / 0.6535 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1439, allocations: 2.125 kB / 0.6535 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.144, allocations: 157.7 kB / 0.6537 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.144, allocations: 0 / 0.6537 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.1441, allocations: 7.938 kB / 0.6537 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1441, allocations: 7.938 kB / 0.6537 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.1441, allocations: 4 kB / 0.6537 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1441, allocations: 0.5938 kB / 0.6537 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1441, allocations: 1.25 kB / 0.6537 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.1443, allocations: 78.19 kB / 0.6538 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.1443, allocations: 88.94 kB / 0.6538 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.1444, allocations: 6.391 kB / 0.6539 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.746e-05/0.1444, allocations: 8 kB / 0.6539 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.1444, allocations: 3.984 kB / 0.6539 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1445, allocations: 4 kB / 0.6539 GB, free: 14.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.874e-05/0.1445, allocations: 75.28 kB / 0.6539 GB, free: 14.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1445, allocations: 2.094 kB / 0.6539 GB, free: 14.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002117/0.1447, allocations: 32 kB / 0.654 GB, free: 14.57 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 0.0001924/0.1449, allocations: 147.1 kB / 0.6541 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.145, allocations: 28.66 kB / 0.6541 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1451, allocations: 1.719 kB / 0.6541 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.886e-05/0.1451, allocations: 12 kB / 0.6542 GB, free: 14.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.1452, allocations: 9.859 kB / 0.6542 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.1455, allocations: 139.8 kB / 0.6543 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.1457, allocations: 0.6848 MB / 0.655 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.887e-05/0.1457, allocations: 4 kB / 0.655 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.1458, allocations: 7.438 kB / 0.655 GB, free: 13.48 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1458, allocations: 0 / 0.655 GB, free: 13.48 MB / 462.1 MB Notification: Performance of Templates: time 0.002662/0.1484, allocations: 1.01 MB / 0.656 GB, free: 12.48 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) Environment - environmentSimulation: