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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9351/0.9351, allocations: 143.4 MB / 158.3 MB, free: 5.641 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 181.1 kB / 191.5 MB, free: 5.668 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 223.2 MB / 447.7 MB, free: 4.828 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009525/0.0009524, allocations: 92.25 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001968/0.001968, allocations: 275.7 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005213/0.0005215, allocations: 17.91 kB / 0.6929 GB, free: 59.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.197, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6126/0.8097, allocations: 109.9 MB / 0.8811 GB, free: 31.46 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003511/0.8101, allocations: 86.5 kB / 0.8812 GB, free: 31.46 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01113/0.8213, allocations: 2.892 MB / 0.884 GB, free: 31.07 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8213, allocations: 0 / 0.884 GB, free: 31.07 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.8213, allocations: 4 kB / 0.884 GB, free: 31.06 MB / 0.5417 GB 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.0004049/0.8217, allocations: 362 kB / 0.8844 GB, free: 30.69 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.8218, allocations: 9.062 kB / 0.8844 GB, free: 30.69 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.8219, allocations: 33.53 kB / 0.8844 GB, free: 30.65 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003801/0.8222, allocations: 26.08 kB / 0.8845 GB, free: 30.65 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.8224, allocations: 166.5 kB / 0.8846 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.8224, allocations: 6.875 kB / 0.8846 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.8224, allocations: 7.844 kB / 0.8846 GB, free: 30.44 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.8226, allocations: 57.77 kB / 0.8847 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.8226, allocations: 0 / 0.8847 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.8227, allocations: 1 kB / 0.8847 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8227, allocations: 2.938 kB / 0.8847 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.8228, allocations: 24.47 kB / 0.8847 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.823, allocations: 177.6 kB / 0.8849 GB, free: 30.21 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.8234, allocations: 69.17 kB / 0.8849 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.8234, allocations: 2.688 kB / 0.885 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.8234, allocations: 35.17 kB / 0.885 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.8234, allocations: 0 / 0.885 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.003877/0.8273, allocations: 0.5827 MB / 0.8856 GB, free: 29.87 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.8274, allocations: 51.41 kB / 0.8856 GB, free: 29.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.314e-05/0.8274, allocations: 92.62 kB / 0.8857 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.8275, allocations: 31.55 kB / 0.8857 GB, free: 29.68 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.386e-05/0.8275, allocations: 80.75 kB / 0.8858 GB, free: 29.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.8275, allocations: 23.64 kB / 0.8858 GB, free: 29.58 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.8276, allocations: 0 / 0.8858 GB, free: 29.58 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.199e-05/0.8276, allocations: 319 kB / 0.8861 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.8278, allocations: 35.77 kB / 0.8862 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.8279, allocations: 42.61 kB / 0.8862 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.828, allocations: 40.05 kB / 0.8862 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.828, allocations: 0 / 0.8862 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003334/0.8284, allocations: 134.3 kB / 0.8864 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.8284, allocations: 7.219 kB / 0.8864 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8284, allocations: 0 / 0.8864 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.8284, allocations: 0.7969 kB / 0.8864 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.8287, allocations: 22.86 kB / 0.8864 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.8287, allocations: 0 / 0.8864 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.8289, allocations: 7.391 kB / 0.8864 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.8289, allocations: 6.422 kB / 0.8864 GB, free: 29.22 MB / 0.5417 GB 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 9.286e-05/0.829, allocations: 120.3 kB / 0.8865 GB, free: 29.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.8291, allocations: 7.25 kB / 0.8865 GB, free: 29.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.893e-05/0.8291, allocations: 8.25 kB / 0.8865 GB, free: 29.09 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.8292, allocations: 4 kB / 0.8865 GB, free: 29.09 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8292, allocations: 2.75 kB / 0.8865 GB, free: 29.09 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.8292, allocations: 0.6094 kB / 0.8865 GB, free: 29.09 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.8294, allocations: 182.5 kB / 0.8867 GB, free: 28.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/0.8294, allocations: 5.391 kB / 0.8867 GB, free: 28.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.8296, allocations: 23.19 kB / 0.8867 GB, free: 28.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.8296, allocations: 0 / 0.8867 GB, free: 28.89 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.8297, allocations: 6.516 kB / 0.8868 GB, free: 28.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.8297, allocations: 240 / 0.8868 GB, free: 28.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.8297, allocations: 0 / 0.8868 GB, free: 28.89 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.8302, allocations: 202.9 kB / 0.8869 GB, free: 28.81 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.8302, allocations: 89.73 kB / 0.887 GB, free: 28.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.8303, allocations: 8.578 kB / 0.887 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.8305, allocations: 8.219 kB / 0.887 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.8305, allocations: 4.375 kB / 0.8871 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.8305, allocations: 10.25 kB / 0.8871 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.551e-05/0.8306, allocations: 75.84 kB / 0.8871 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.082e-06/0.8306, allocations: 0 / 0.8871 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000283/0.8309, allocations: 38.88 kB / 0.8872 GB, free: 28.62 MB / 0.5417 GB 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.0008013/0.8317, allocations: 0.7746 MB / 0.8879 GB, free: 28 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003267/0.832, allocations: 89.72 kB / 0.888 GB, free: 28 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.832, allocations: 0 / 0.888 GB, free: 28 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.8322, allocations: 49.78 kB / 0.8881 GB, free: 28 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.8323, allocations: 5.812 kB / 0.8881 GB, free: 28 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.8347, allocations: 0.5245 MB / 0.8886 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.8349, allocations: 0.6841 MB / 0.8892 GB, free: 42.96 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002517/0.8352, allocations: 35.19 kB / 0.8893 GB, free: 42.94 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.557e-05/0.8353, allocations: 19.52 kB / 0.8893 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of SimCode: time 1.082e-06/0.8353, allocations: 4 kB / 0.8893 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.8497, allocations: 2.261 MB / 0.8915 GB, free: 42.76 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.8499, allocations: 265.4 kB / 0.8918 GB, free: 42.47 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.419, allocations: 0.9375 kB / 0.8918 GB, free: 42.47 MB / 0.5573 GB (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/linux/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)