Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009597/0.0009597, 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.001035/0.001035, 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.267/1.267, 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.001735/0.001735, allocations: 270.7 kB / 291.2 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.7916/0.7916, allocations: 144.6 MB / 487 MB, free: 7.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003888, allocations: 20 kB / 0.5683 GB, free: 38.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 83.08 MB / 0.6494 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.001198/0.1315, allocations: 0.9714 MB / 0.6504 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005146/0.132, allocations: 293.6 kB / 0.6507 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.132e-05/0.1321, allocations: 0 / 0.6507 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.007e-05/0.1321, allocations: 0 / 0.6507 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.246e-05/0.1321, allocations: 3.438 kB / 0.6507 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.1324, allocations: 47.81 kB / 0.6507 GB, free: 2.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.895e-05/0.1324, allocations: 7.984 kB / 0.6507 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.1325, allocations: 0 / 0.6507 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.17e-05/0.1325, allocations: 15.92 kB / 0.6507 GB, free: 2.238 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.1326, allocations: 7.984 kB / 0.6508 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.1326, allocations: 0 / 0.6508 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.1327, allocations: 67.92 kB / 0.6508 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.1327, allocations: 8.609 kB / 0.6508 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.1328, allocations: 30.36 kB / 0.6509 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.968e-05/0.1329, allocations: 23.97 kB / 0.6509 GB, free: 2.098 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.1329, allocations: 4.5 kB / 0.6509 GB, free: 2.094 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1329, allocations: 0 / 0.6509 GB, free: 2.094 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1329, allocations: 2.438 kB / 0.6509 GB, free: 2.094 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.0003252/0.1332, allocations: 331.4 kB / 0.6512 GB, free: 1.723 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1333, allocations: 11.97 kB / 0.6512 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.1334, allocations: 11.92 kB / 0.6512 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.954e-05/0.1335, allocations: 163.8 kB / 0.6514 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1335, allocations: 0 / 0.6514 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.1336, allocations: 4.625 kB / 0.6514 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.1337, allocations: 46.67 kB / 0.6514 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1337, allocations: 0 / 0.6514 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1337, allocations: 0 / 0.6514 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1337, allocations: 0.8125 kB / 0.6514 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.64e-05/0.1338, allocations: 12 kB / 0.6514 GB, free: 1.434 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.134, allocations: 166.5 kB / 0.6516 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.1342, allocations: 52.38 kB / 0.6516 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1342, allocations: 7.984 kB / 0.6517 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1342, allocations: 35.5 kB / 0.6517 GB, free: 1.113 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1342, allocations: 0.75 kB / 0.6517 GB, free: 1.113 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.001271/0.1355, allocations: 386.7 kB / 0.6521 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.1356, allocations: 51.41 kB / 0.6521 GB, free: 0.625 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.515e-05/0.1356, allocations: 92.42 kB / 0.6522 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1356, allocations: 29.69 kB / 0.6522 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.391e-05/0.1357, allocations: 80.14 kB / 0.6523 GB, free: 420 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.1357, allocations: 23.66 kB / 0.6523 GB, free: 396 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.1357, allocations: 0 / 0.6523 GB, free: 396 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1359, allocations: 318.8 kB / 0.6526 GB, free: 68 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.563e-05/0.1359, allocations: 16.61 kB / 0.6526 GB, free: 52 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.228e-05/0.1359, allocations: 20.67 kB / 0.6527 GB, free: 32 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.726e-05/0.136, allocations: 16 kB / 0.6527 GB, free: 16 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.136, allocations: 0.6875 kB / 0.6527 GB, free: 16 kB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001425/0.1362, allocations: 86.91 kB / 0.6528 GB, free: 15.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1362, allocations: 4 kB / 0.6528 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1362, allocations: 0 / 0.6528 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1362, allocations: 0 / 0.6528 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.1363, allocations: 17.11 kB / 0.6528 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1363, allocations: 0 / 0.6528 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.1364, allocations: 4 kB / 0.6528 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1364, allocations: 4.469 kB / 0.6528 GB, free: 15.9 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 (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 prepare postOptimizeDAE: time 8.611e-05/0.1365, allocations: 110.9 kB / 0.6529 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.1365, allocations: 7.891 kB / 0.6529 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.1367, allocations: 97.25 kB / 0.653 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1367, allocations: 0 / 0.653 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1367, allocations: 0 / 0.653 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1368, allocations: 2.969 kB / 0.653 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.1369, allocations: 165.7 kB / 0.6532 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1369, allocations: 3.938 kB / 0.6532 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.304e-05/0.137, allocations: 19.89 kB / 0.6532 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.137, allocations: 0 / 0.6532 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.137, allocations: 0 / 0.6532 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.137, allocations: 3.984 kB / 0.6532 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.137, allocations: 0 / 0.6532 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.1372, allocations: 119.9 kB / 0.6533 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.1373, allocations: 85 kB / 0.6534 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.1373, allocations: 11.98 kB / 0.6534 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.1374, allocations: 1.062 kB / 0.6534 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.1374, allocations: 4 kB / 0.6534 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.1374, allocations: 3.984 kB / 0.6534 GB, free: 15.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.095e-05/0.1374, allocations: 83.34 kB / 0.6535 GB, free: 15.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1374, allocations: 0 / 0.6535 GB, free: 15.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001771/0.1376, allocations: 8 kB / 0.6535 GB, free: 15.09 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 0.0001056/0.1377, allocations: 108.4 kB / 0.6536 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.1379, allocations: 44.05 kB / 0.6536 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1379, allocations: 0 / 0.6536 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.644e-05/0.1379, allocations: 31.92 kB / 0.6537 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.1381, allocations: 5.312 kB / 0.6537 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.1383, allocations: 142.7 kB / 0.6538 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.1386, allocations: 0.6809 MB / 0.6545 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.564e-05/0.1386, allocations: 11.98 kB / 0.6545 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.1387, allocations: 7.438 kB / 0.6545 GB, free: 14.01 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1387, allocations: 0 / 0.6545 GB, free: 14.01 MB / 462.1 MB Notification: Performance of Templates: time 0.002357/0.141, allocations: 0.6839 MB / 0.6552 GB, free: 13.37 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: