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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 194.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 275 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.881/0.881, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 102 kB / 0.5954 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1389, allocations: 86.98 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002275/0.1412, allocations: 1.28 MB / 0.6816 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009161/0.1421, allocations: 0.6333 MB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.026e-05/0.1422, allocations: 0 / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.1422, allocations: 0.875 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.168e-05/0.1423, allocations: 11.91 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.1427, allocations: 102.2 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.063e-05/0.1427, allocations: 35.78 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.1428, allocations: 4 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.933e-05/0.1428, allocations: 4 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.338e-05/0.1429, allocations: 15.92 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.1429, allocations: 8 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002614/0.1432, allocations: 147.8 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.1432, allocations: 0 / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.1432, allocations: 8 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.1434, allocations: 104 kB / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1434, allocations: 0 / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1434, allocations: 0 / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.1434, allocations: 0 / 0.6826 GB, free: 14.21 MB / 494.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.0004144/0.1438, allocations: 351.5 kB / 0.6829 GB, free: 13.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1439, allocations: 16.02 kB / 0.6829 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.1439, allocations: 34.75 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004/0.1443, allocations: 28.84 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.1444, allocations: 168.3 kB / 0.6832 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.1444, allocations: 384 / 0.6832 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.1445, allocations: 8.359 kB / 0.6832 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1446, allocations: 62.2 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1446, allocations: 3.938 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1447, allocations: 3.938 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1447, allocations: 4 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.1448, allocations: 23.97 kB / 0.6833 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.145, allocations: 165.7 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.1453, allocations: 66.58 kB / 0.6835 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.13e-05/0.1454, allocations: 28.94 kB / 0.6835 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.1454, allocations: 0 / 0.6835 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.1455, allocations: 42.48 kB / 0.6836 GB, free: 13.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1455, allocations: 4 kB / 0.6836 GB, free: 13.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003293/0.1488, allocations: 0.5719 MB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.1488, allocations: 51.41 kB / 0.6842 GB, free: 12.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.63e-05/0.1489, allocations: 101.9 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1489, allocations: 25.7 kB / 0.6843 GB, free: 12.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.1489, allocations: 80.14 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.149, allocations: 27.64 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.149, allocations: 25.7 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1491, allocations: 314.8 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.1493, allocations: 40.09 kB / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.1494, allocations: 35.97 kB / 0.6848 GB, free: 11.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.1497, allocations: 80.97 kB / 0.6849 GB, free: 11.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1497, allocations: 3.938 kB / 0.6849 GB, free: 11.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003422/0.15, allocations: 129.5 kB / 0.685 GB, free: 11.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1501, allocations: 4 kB / 0.685 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1501, allocations: 0 / 0.685 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.1501, allocations: 0 / 0.685 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.1503, allocations: 23.97 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1503, allocations: 4 kB / 0.685 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.1505, allocations: 7.984 kB / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1505, allocations: 4 kB / 0.685 GB, free: 11.43 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.316e-05/0.1506, allocations: 114.4 kB / 0.6851 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.1506, allocations: 7.938 kB / 0.6852 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/0.1507, allocations: 19.89 kB / 0.6852 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1507, allocations: 0 / 0.6852 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1507, allocations: 0 / 0.6852 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1507, allocations: 0 / 0.6852 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.1509, allocations: 195.9 kB / 0.6854 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1509, allocations: 0 / 0.6854 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.1511, allocations: 31.97 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1511, allocations: 3.938 kB / 0.6854 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1511, allocations: 7.984 kB / 0.6854 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1512, allocations: 4 kB / 0.6854 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1512, allocations: 0 / 0.6854 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.1517, allocations: 189 kB / 0.6856 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.1517, allocations: 81.05 kB / 0.6857 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.1518, allocations: 4.031 kB / 0.6857 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.152, allocations: 7.984 kB / 0.6857 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.152, allocations: 7.938 kB / 0.6857 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.152, allocations: 7.984 kB / 0.6857 GB, free: 10.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.704e-05/0.152, allocations: 83.34 kB / 0.6858 GB, free: 10.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.152, allocations: 0 / 0.6858 GB, free: 10.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002293/0.1523, allocations: 31.98 kB / 0.6858 GB, free: 10.56 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008289/0.1531, allocations: 0.7529 MB / 0.6865 GB, free: 9.777 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003239/0.1534, allocations: 87.86 kB / 0.6866 GB, free: 9.691 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1535, allocations: 4.062 kB / 0.6866 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.1536, allocations: 43.95 kB / 0.6867 GB, free: 9.645 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1538, allocations: 8 kB / 0.6867 GB, free: 9.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.1557, allocations: 1.357 MB / 0.688 GB, free: 8.195 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.1559, allocations: 0.6884 MB / 0.6887 GB, free: 7.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.1562, allocations: 24.03 kB / 0.6887 GB, free: 7.457 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.147e-05/0.1562, allocations: 23.41 kB / 0.6887 GB, free: 7.434 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1562, allocations: 0 / 0.6887 GB, free: 7.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5309/0.6871, allocations: 2.47 MB / 0.6911 GB, free: 5.156 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.969/8.657, allocations: 19.59 kB / 0.6911 GB, free: 5.148 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)