Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000869/0.000869, 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.0008933/0.0008933, 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.239/1.239, allocations: 223.2 MB / 239.9 MB, free: 5.422 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.3 MB, free: 1.984 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.7952/0.7952, allocations: 144.6 MB / 487 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004088, allocations: 10.66 kB / 0.5683 GB, free: 38.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 83.08 MB / 0.6494 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001303/0.1397, allocations: 0.998 MB / 0.6504 GB, free: 2.574 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008654/0.1406, allocations: 0.569 MB / 0.651 GB, free: 2.008 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.1406, allocations: 0 / 0.651 GB, free: 2.008 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.1406, allocations: 0 / 0.651 GB, free: 2.008 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.776e-05/0.1407, allocations: 4.641 kB / 0.651 GB, free: 2.004 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.1411, allocations: 100.8 kB / 0.6511 GB, free: 1.906 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.323e-05/0.1411, allocations: 19.95 kB / 0.6511 GB, free: 1.887 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.1412, allocations: 0.5312 kB / 0.6511 GB, free: 1.887 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.156e-05/0.1412, allocations: 16.5 kB / 0.6511 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.723e-05/0.1413, allocations: 11.98 kB / 0.6511 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1413, allocations: 1.375 kB / 0.6511 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.1416, allocations: 155.8 kB / 0.6513 GB, free: 1.707 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.1417, allocations: 3.984 kB / 0.6513 GB, free: 1.703 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.1417, allocations: 34.97 kB / 0.6513 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1418, allocations: 60.22 kB / 0.6514 GB, free: 1.605 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1418, allocations: 0 / 0.6514 GB, free: 1.605 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1419, allocations: 3.938 kB / 0.6514 GB, free: 1.602 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1419, allocations: 0.5938 kB / 0.6514 GB, free: 1.602 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.0004517/0.1423, allocations: 356.8 kB / 0.6517 GB, free: 1.207 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1424, allocations: 8.688 kB / 0.6517 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004169/0.1428, allocations: 37.64 kB / 0.6518 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1429, allocations: 167 kB / 0.6519 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1429, allocations: 1.531 kB / 0.6519 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.143, allocations: 4 kB / 0.6519 GB, free: 0.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.1432, allocations: 53.66 kB / 0.652 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1432, allocations: 0.875 kB / 0.652 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1432, allocations: 4 kB / 0.652 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1432, allocations: 4.719 kB / 0.652 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.1433, allocations: 24.72 kB / 0.652 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.1435, allocations: 176.1 kB / 0.6522 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.1438, allocations: 63.22 kB / 0.6522 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.1438, allocations: 1.875 kB / 0.6522 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.1438, allocations: 34.56 kB / 0.6523 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1438, allocations: 0 / 0.6523 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003083/0.1469, allocations: 0.5637 MB / 0.6528 GB, free: 15.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.147, allocations: 59.33 kB / 0.6529 GB, free: 15.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.046e-05/0.1471, allocations: 98.95 kB / 0.653 GB, free: 15.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1471, allocations: 25.7 kB / 0.653 GB, free: 15.72 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.1471, allocations: 88.2 kB / 0.6531 GB, free: 15.63 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.1472, allocations: 23.66 kB / 0.6531 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.1472, allocations: 0 / 0.6531 GB, free: 15.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.1473, allocations: 322.8 kB / 0.6534 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1474, allocations: 31.97 kB / 0.6534 GB, free: 15.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.1475, allocations: 35.97 kB / 0.6535 GB, free: 15.22 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.1477, allocations: 39.94 kB / 0.6535 GB, free: 15.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1477, allocations: 0 / 0.6535 GB, free: 15.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000305/0.148, allocations: 117.6 kB / 0.6536 GB, free: 15.06 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.148, allocations: 11.92 kB / 0.6536 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.148, allocations: 8 kB / 0.6536 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.148, allocations: 0 / 0.6536 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.1482, allocations: 23.91 kB / 0.6537 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1483, allocations: 4 kB / 0.6537 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.1484, allocations: 8 kB / 0.6537 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.1484, allocations: 3.984 kB / 0.6537 GB, free: 15 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.72e-05/0.1485, allocations: 113.8 kB / 0.6538 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.1485, allocations: 7.906 kB / 0.6538 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.378e-05/0.1486, allocations: 15.91 kB / 0.6538 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1486, allocations: 0 / 0.6538 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1486, allocations: 0 / 0.6538 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.1486, allocations: 336 / 0.6538 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.1488, allocations: 195.7 kB / 0.654 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1488, allocations: 0 / 0.654 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.149, allocations: 19.97 kB / 0.654 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.149, allocations: 4 kB / 0.654 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.149, allocations: 7.969 kB / 0.654 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.149, allocations: 0 / 0.654 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.149, allocations: 0 / 0.654 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.1495, allocations: 193 kB / 0.6542 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.1496, allocations: 85.09 kB / 0.6543 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1496, allocations: 4.125 kB / 0.6543 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.1498, allocations: 20.05 kB / 0.6543 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.1498, allocations: 0 / 0.6543 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.1498, allocations: 7.984 kB / 0.6543 GB, free: 14.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.745e-05/0.1499, allocations: 75.28 kB / 0.6544 GB, free: 14.17 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1499, allocations: 0 / 0.6544 GB, free: 14.17 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.1501, allocations: 32 kB / 0.6544 GB, free: 14.14 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 (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 Backend phase and start with SimCode phase: time 0.0001826/0.1503, allocations: 132.5 kB / 0.6546 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.1506, allocations: 91.95 kB / 0.6546 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1506, allocations: 0 / 0.6546 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1508, allocations: 47.89 kB / 0.6547 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.1509, allocations: 13.7 kB / 0.6547 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.1515, allocations: 170.8 kB / 0.6549 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.1517, allocations: 0.6887 MB / 0.6555 GB, free: 12.94 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.1519, allocations: 24 kB / 0.6556 GB, free: 12.92 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.152, allocations: 15.42 kB / 0.6556 GB, free: 12.9 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.152, allocations: 0 / 0.6556 GB, free: 12.9 MB / 462.1 MB Notification: Performance of Templates: time 0.003503/0.1555, allocations: 1.433 MB / 0.657 GB, free: 11.52 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: