Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.8689/0.8689, allocations: 143.3 MB / 158.3 MB, free: 5.789 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.001033/0.001033, allocations: 181 kB / 191.5 MB, free: 5.773 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.583/1.583, allocations: 223.2 MB / 447.7 MB, free: 6.492 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.0008461/0.000846, allocations: 96.25 kB / 0.5187 GB, free: 2.855 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001861/0.001861, allocations: 272.8 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004493/0.0004494, allocations: 19.98 kB / 0.693 GB, free: 2.203 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4489, allocations: 82.77 MB / 0.7738 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.5999, allocations: 108.9 MB / 0.8802 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.6003, allocations: 79.95 kB / 0.8802 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.00506/0.6054, allocations: 1.874 MB / 0.8821 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6054, allocations: 0 / 0.8821 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.6054, allocations: 0 / 0.8821 GB, free: 11.21 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002951/0.6057, allocations: 343.3 kB / 0.8824 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.6057, allocations: 12.03 kB / 0.8824 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.6058, allocations: 38.5 kB / 0.8824 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.6059, allocations: 7.984 kB / 0.8825 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.371e-05/0.606, allocations: 163 kB / 0.8826 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.6061, allocations: 4 kB / 0.8826 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.6061, allocations: 7.938 kB / 0.8826 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.6062, allocations: 41.69 kB / 0.8827 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.6062, allocations: 0 / 0.8827 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.6062, allocations: 0 / 0.8827 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.6062, allocations: 8 kB / 0.8827 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.984e-05/0.6063, allocations: 19.98 kB / 0.8827 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.6065, allocations: 161.7 kB / 0.8828 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.645e-05/0.6066, allocations: 46.52 kB / 0.8829 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.6066, allocations: 0 / 0.8829 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.6066, allocations: 30.56 kB / 0.8829 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.6066, allocations: 0 / 0.8829 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.002046/0.6087, allocations: 0.4903 MB / 0.8834 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.6087, allocations: 51.41 kB / 0.8834 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.502e-05/0.6087, allocations: 89 kB / 0.8835 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.6088, allocations: 29.7 kB / 0.8836 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.922e-05/0.6088, allocations: 84.08 kB / 0.8836 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.6089, allocations: 27.69 kB / 0.8837 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.6089, allocations: 4 kB / 0.8837 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.609, allocations: 310.8 kB / 0.884 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.471e-05/0.609, allocations: 23.98 kB / 0.884 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-05/0.6091, allocations: 27.92 kB / 0.884 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.379e-05/0.6091, allocations: 24 kB / 0.884 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.6091, allocations: 4 kB / 0.884 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000139/0.6093, allocations: 97.48 kB / 0.8841 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.6093, allocations: 8 kB / 0.8841 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.6093, allocations: 0 / 0.8841 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.6093, allocations: 0 / 0.8841 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.6095, allocations: 15.98 kB / 0.8842 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.6095, allocations: 0 / 0.8842 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.6096, allocations: 0 / 0.8842 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.6096, allocations: 8.078 kB / 0.8842 GB, free: 8.801 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 (9): * Single equations (assignments): 9 * 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 7.531e-05/0.6097, allocations: 114.3 kB / 0.8843 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.6097, allocations: 7.953 kB / 0.8843 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.6097, allocations: 15.97 kB / 0.8843 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.6097, allocations: 0 / 0.8843 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.6098, allocations: 3.938 kB / 0.8843 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6098, allocations: 0 / 0.8843 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.6099, allocations: 175.5 kB / 0.8845 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6099, allocations: 3.984 kB / 0.8845 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.6101, allocations: 19.98 kB / 0.8845 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.6101, allocations: 3.953 kB / 0.8845 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.6101, allocations: 4 kB / 0.8845 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.6101, allocations: 3.984 kB / 0.8845 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6101, allocations: 0 / 0.8845 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.6103, allocations: 149.3 kB / 0.8846 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.6104, allocations: 81.02 kB / 0.8847 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.6104, allocations: 4.391 kB / 0.8847 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.6105, allocations: 11.92 kB / 0.8847 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.6106, allocations: 12.06 kB / 0.8847 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.6106, allocations: 4 kB / 0.8848 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.449e-05/0.6106, allocations: 75.28 kB / 0.8848 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6106, allocations: 0 / 0.8848 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001819/0.6108, allocations: 15.94 kB / 0.8848 GB, free: 8.016 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 (8): * Single equations (assignments): 8 * 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.0005142/0.6113, allocations: 0.6867 MB / 0.8855 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.6115, allocations: 51.98 kB / 0.8856 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6115, allocations: 0 / 0.8856 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.509e-05/0.6115, allocations: 39.92 kB / 0.8856 GB, free: 7.211 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.6117, allocations: 9.719 kB / 0.8856 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008197/0.6125, allocations: 483.5 kB / 0.8861 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.6128, allocations: 0.6914 MB / 0.8867 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.837e-05/0.6129, allocations: 4.188 kB / 0.8867 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.6129, allocations: 11.44 kB / 0.8868 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.6129, allocations: 0 / 0.8868 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01058/0.6235, allocations: 1.397 MB / 0.8881 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.6237, allocations: 253.9 kB / 0.8884 GB, free: 4.496 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/2.105, allocations: 0 / 0.8884 GB, free: 4.496 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)