Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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_comparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007849/0.0007848, allocations: 100.3 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.0008285/0.0008284, 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.22/1.22, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 262.7 kB / 291.3 MB, free: 2.004 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.7513/0.7513, allocations: 144.6 MB / 487 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004624, allocations: 12.38 kB / 0.5683 GB, free: 38.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1461, allocations: 83.08 MB / 0.6494 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001149/0.1473, allocations: 0.9968 MB / 0.6504 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007031/0.148, allocations: 486.5 kB / 0.6509 GB, free: 2.105 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.498e-05/0.1481, allocations: 0 / 0.6509 GB, free: 2.105 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.1481, allocations: 1.75 kB / 0.6509 GB, free: 2.105 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.119e-05/0.1481, allocations: 3.984 kB / 0.6509 GB, free: 2.102 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.1484, allocations: 103.7 kB / 0.651 GB, free: 2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.459e-05/0.1485, allocations: 17.16 kB / 0.651 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.1485, allocations: 0 / 0.651 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/0.1486, allocations: 15.92 kB / 0.651 GB, free: 1.969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.1486, allocations: 4.562 kB / 0.651 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.1487, allocations: 4 kB / 0.651 GB, free: 1.961 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.149, allocations: 201 kB / 0.6512 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.149, allocations: 7.984 kB / 0.6512 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.149, allocations: 29.7 kB / 0.6512 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.1492, allocations: 77.41 kB / 0.6513 GB, free: 1.648 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.1492, allocations: 0 / 0.6513 GB, free: 1.648 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1492, allocations: 0 / 0.6513 GB, free: 1.648 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1492, allocations: 0 / 0.6513 GB, free: 1.648 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003892/0.1496, allocations: 341.3 kB / 0.6516 GB, free: 1.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1496, allocations: 8.031 kB / 0.6516 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.1498, allocations: 24.53 kB / 0.6517 GB, free: 1.238 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.1499, allocations: 179.5 kB / 0.6518 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.15, allocations: 0.5312 kB / 0.6518 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.15, allocations: 4 kB / 0.6518 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1501, allocations: 46.31 kB / 0.6519 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1501, allocations: 0.9688 kB / 0.6519 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1501, allocations: 0 / 0.6519 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1501, allocations: 9.688 kB / 0.6519 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.148e-05/0.1502, allocations: 23.97 kB / 0.6519 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.1504, allocations: 161.6 kB / 0.6521 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.1505, allocations: 63.34 kB / 0.6521 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1505, allocations: 4.594 kB / 0.6521 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.1505, allocations: 36 kB / 0.6522 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.1505, allocations: 0 / 0.6522 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001784/0.1507, allocations: 77.84 kB / 0.6523 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.1508, allocations: 52.06 kB / 0.6523 GB, free: 480 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.002e-05/0.1508, allocations: 90.61 kB / 0.6524 GB, free: 380 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.1509, allocations: 30.33 kB / 0.6524 GB, free: 344 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.565e-05/0.1509, allocations: 85.11 kB / 0.6525 GB, free: 256 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.151, allocations: 19.66 kB / 0.6525 GB, free: 236 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.151, allocations: 0 / 0.6525 GB, free: 236 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1511, allocations: 320.5 kB / 0.6528 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.1511, allocations: 8 kB / 0.6528 GB, free: 15.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.089e-05/0.1512, allocations: 15.98 kB / 0.6528 GB, free: 15.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.301e-05/0.1512, allocations: 12.88 kB / 0.6529 GB, free: 15.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.1512, allocations: 4 kB / 0.6529 GB, free: 15.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.879e-05/0.1513, allocations: 66.36 kB / 0.6529 GB, free: 15.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.1513, allocations: 4 kB / 0.6529 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1513, allocations: 0.75 kB / 0.6529 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.1513, allocations: 0 / 0.6529 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1515, allocations: 18.05 kB / 0.6529 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1515, allocations: 3.938 kB / 0.653 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.544e-05/0.1515, allocations: 4 kB / 0.653 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.1515, allocations: 0 / 0.653 GB, free: 15.77 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 (6): * Single equations (assignments): 6 * 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.471e-05/0.1516, allocations: 110.4 kB / 0.6531 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.1516, allocations: 11.86 kB / 0.6531 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.1518, allocations: 88.12 kB / 0.6532 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.1518, allocations: 0 / 0.6532 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1519, allocations: 8.484 kB / 0.6532 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1519, allocations: 0.8438 kB / 0.6532 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.152, allocations: 165.7 kB / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.152, allocations: 0 / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.018e-05/0.1521, allocations: 21.67 kB / 0.6533 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1521, allocations: 3.953 kB / 0.6533 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.1521, allocations: 0 / 0.6533 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1521, allocations: 5 kB / 0.6534 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1521, allocations: 4 kB / 0.6534 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.1522, allocations: 99.31 kB / 0.6535 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.625e-05/0.1523, allocations: 85.03 kB / 0.6535 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1523, allocations: 7.953 kB / 0.6535 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.984e-05/0.1524, allocations: 0 / 0.6535 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.1524, allocations: 4.625 kB / 0.6535 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.1524, allocations: 3.984 kB / 0.6535 GB, free: 15.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.331e-05/0.1524, allocations: 78.41 kB / 0.6536 GB, free: 15 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1525, allocations: 0 / 0.6536 GB, free: 15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001779/0.1526, allocations: 12 kB / 0.6536 GB, free: 14.99 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 (7): * Single equations (assignments): 7 * 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 9.507e-05/0.1527, allocations: 103.2 kB / 0.6537 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.378e-05/0.1528, allocations: 31.98 kB / 0.6538 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1528, allocations: 6.062 kB / 0.6538 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.949e-05/0.1529, allocations: 31.91 kB / 0.6538 GB, free: 14.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.153, allocations: 10.12 kB / 0.6538 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/0.1533, allocations: 149.6 kB / 0.654 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1536, allocations: 0.6826 MB / 0.6546 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.094e-05/0.1537, allocations: 0 / 0.6546 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.1537, allocations: 11.44 kB / 0.6546 GB, free: 13.91 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1537, allocations: 0 / 0.6546 GB, free: 13.91 MB / 462.1 MB Notification: Performance of Templates: time 0.002273/0.156, allocations: 0.5225 MB / 0.6551 GB, free: 13.43 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) Environment - environmentSimulation: