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.8344/0.8344, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001165/0.001164, allocations: 176.8 kB / 182.2 MB, free: 9.43 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.608/1.608, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009984/0.0009978, allocations: 99.78 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001922/0.001922, allocations: 282.9 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.262e-05, allocations: 4 kB / 0.6767 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5222/0.5223, allocations: 82.76 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.675, allocations: 109.2 MB / 0.8641 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.6754, allocations: 87.94 kB / 0.8642 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008617/0.684, allocations: 2.884 MB / 0.867 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6841, allocations: 0 / 0.867 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.6841, allocations: 0 / 0.867 GB, free: 15.62 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.0003719/0.6845, allocations: 350.4 kB / 0.8673 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.6845, allocations: 12.03 kB / 0.8674 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000354/0.6849, allocations: 27.95 kB / 0.8674 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.685, allocations: 159.1 kB / 0.8675 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.685, allocations: 3.953 kB / 0.8675 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.6851, allocations: 0 / 0.8675 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.088e-05/0.6852, allocations: 23.92 kB / 0.8676 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.76e-05/0.6853, allocations: 49.67 kB / 0.8676 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.6853, allocations: 0 / 0.8676 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.6853, allocations: 0 / 0.8676 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.6853, allocations: 4 kB / 0.8676 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.6855, allocations: 154.1 kB / 0.8678 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.6857, allocations: 54.5 kB / 0.8678 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.6857, allocations: 24.8 kB / 0.8678 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.6858, allocations: 8 kB / 0.8678 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.6858, allocations: 38.58 kB / 0.8679 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.6858, allocations: 0 / 0.8679 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.001585/0.6874, allocations: 418.1 kB / 0.8683 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.6875, allocations: 55.41 kB / 0.8683 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.574e-05/0.6875, allocations: 89 kB / 0.8684 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.6876, allocations: 25.7 kB / 0.8684 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.6876, allocations: 84.14 kB / 0.8685 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.6877, allocations: 19.64 kB / 0.8685 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.6877, allocations: 0 / 0.8685 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6878, allocations: 318.8 kB / 0.8688 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-05/0.6879, allocations: 28.11 kB / 0.8689 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.6879, allocations: 28 kB / 0.8689 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.676e-05/0.688, allocations: 27.97 kB / 0.8689 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.688, allocations: 3.938 kB / 0.8689 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001766/0.6882, allocations: 109.6 kB / 0.869 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6882, allocations: 4 kB / 0.869 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6882, allocations: 0 / 0.869 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.6882, allocations: 0 / 0.869 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.6884, allocations: 27.91 kB / 0.8691 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.6885, allocations: 4 kB / 0.8691 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.6886, allocations: 7.984 kB / 0.8691 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.6886, allocations: 4 kB / 0.8691 GB, free: 13.26 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 () * 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.675e-05/0.6887, allocations: 101 kB / 0.8692 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001698/0.6889, allocations: 101.6 kB / 0.8693 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.6889, allocations: 7.906 kB / 0.8693 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.117e-05/0.689, allocations: 12.52 kB / 0.8693 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.689, allocations: 0 / 0.8693 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.689, allocations: 4 kB / 0.8693 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.689, allocations: 4 kB / 0.8693 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.6892, allocations: 161.5 kB / 0.8694 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.6892, allocations: 3.953 kB / 0.8695 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.6894, allocations: 35.84 kB / 0.8695 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6894, allocations: 0 / 0.8695 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.6894, allocations: 3.984 kB / 0.8695 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6894, allocations: 0 / 0.8695 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6894, allocations: 3.359 kB / 0.8695 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.6897, allocations: 161.1 kB / 0.8696 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.6898, allocations: 81.06 kB / 0.8697 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.6898, allocations: 0 / 0.8697 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.69, allocations: 16.08 kB / 0.8697 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.69, allocations: 0 / 0.8697 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.6901, allocations: 7.984 kB / 0.8697 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.6901, allocations: 75.28 kB / 0.8698 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6901, allocations: 0 / 0.8698 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002472/0.6904, allocations: 36 kB / 0.8699 GB, free: 12.38 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 () * 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.0006342/0.691, allocations: 0.7373 MB / 0.8706 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.6912, allocations: 63.97 kB / 0.8706 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6912, allocations: 0 / 0.8706 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.521e-05/0.6913, allocations: 39.91 kB / 0.8707 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.6914, allocations: 12.59 kB / 0.8707 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.6921, allocations: 151.6 kB / 0.8708 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.6923, allocations: 0.6807 MB / 0.8715 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002378/0.6926, allocations: 27.98 kB / 0.8715 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/0.6927, allocations: 19.42 kB / 0.8715 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.6927, allocations: 0 / 0.8715 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.7141, allocations: 1.956 MB / 0.8734 GB, free: 8.637 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/0.7144, allocations: 209.1 kB / 0.8736 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.351, allocations: 2.281 kB / 0.8737 GB, free: 8.352 MB / 0.5417 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)