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: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.744/0.744, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 178.3 kB / 187.3 MB, free: 11.89 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.501/1.501, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0009117/0.0009115, allocations: 95.89 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001805/0.001805, allocations: 271.1 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.001e-05/4.005e-05, allocations: 11.98 kB / 0.6835 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4638, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.5917, allocations: 108.8 MB / 0.8706 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/0.5921, allocations: 93.41 kB / 0.8707 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005698/0.5978, allocations: 1.866 MB / 0.8725 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.659e-06/0.5979, allocations: 0 / 0.8725 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.5979, allocations: 3.938 kB / 0.8725 GB, free: 13.75 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.0004036/0.5983, allocations: 331.6 kB / 0.8728 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.593e-05/0.5984, allocations: 8.031 kB / 0.8728 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.5986, allocations: 15.98 kB / 0.8728 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.5987, allocations: 159.1 kB / 0.873 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.5987, allocations: 3.953 kB / 0.873 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.5987, allocations: 4 kB / 0.873 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.5989, allocations: 44.91 kB / 0.873 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.5989, allocations: 0 / 0.873 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.5989, allocations: 4 kB / 0.873 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.599, allocations: 0 / 0.873 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.668e-05/0.599, allocations: 23.88 kB / 0.8731 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/0.5992, allocations: 157.7 kB / 0.8732 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.5994, allocations: 46.59 kB / 0.8733 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.104e-05/0.5994, allocations: 24.92 kB / 0.8733 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.5995, allocations: 11.97 kB / 0.8733 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.5995, allocations: 30.56 kB / 0.8733 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.5995, allocations: 0 / 0.8733 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.001994/0.6015, allocations: 482 kB / 0.8738 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.6016, allocations: 55.34 kB / 0.8738 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.182e-05/0.6016, allocations: 93 kB / 0.8739 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.6017, allocations: 25.7 kB / 0.874 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.6017, allocations: 80.14 kB / 0.874 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.6018, allocations: 31.64 kB / 0.8741 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.6018, allocations: 0 / 0.8741 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.602, allocations: 314.8 kB / 0.8744 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.647e-05/0.602, allocations: 20 kB / 0.8744 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.585e-05/0.6021, allocations: 24 kB / 0.8744 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.933e-05/0.6021, allocations: 23.98 kB / 0.8744 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.6022, allocations: 0 / 0.8744 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001511/0.6023, allocations: 97.48 kB / 0.8745 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.6023, allocations: 4 kB / 0.8745 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.6023, allocations: 6.344 kB / 0.8745 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6024, allocations: 0 / 0.8745 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.6025, allocations: 15.98 kB / 0.8745 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.6025, allocations: 0 / 0.8745 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.124e-05/0.6026, allocations: 4.281 kB / 0.8745 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.6026, allocations: 0 / 0.8745 GB, free: 11.41 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 (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 9.668e-05/0.6027, allocations: 112.9 kB / 0.8747 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.6027, allocations: 7.891 kB / 0.8747 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/0.6028, allocations: 12.09 kB / 0.8747 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.6028, allocations: 4 kB / 0.8747 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.6028, allocations: 4 kB / 0.8747 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6028, allocations: 0 / 0.8747 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.603, allocations: 179.5 kB / 0.8748 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.603, allocations: 0 / 0.8748 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.6032, allocations: 15.98 kB / 0.8749 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6032, allocations: 3.953 kB / 0.8749 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.6032, allocations: 0 / 0.8749 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.6032, allocations: 4 kB / 0.8749 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6032, allocations: 0 / 0.8749 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.6035, allocations: 137.1 kB / 0.875 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.6036, allocations: 89.03 kB / 0.8751 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.6036, allocations: 7.953 kB / 0.8751 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-05/0.6037, allocations: 4 kB / 0.8751 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.6037, allocations: 4.25 kB / 0.8751 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.6037, allocations: 3.984 kB / 0.8751 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.62e-05/0.6038, allocations: 75.28 kB / 0.8752 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6038, allocations: 0 / 0.8752 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001783/0.604, allocations: 20.06 kB / 0.8752 GB, free: 10.65 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 (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.0001877/0.6042, allocations: 107.2 kB / 0.8753 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.6043, allocations: 67.92 kB / 0.8754 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.6043, allocations: 0 / 0.8754 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.052e-05/0.6044, allocations: 28 kB / 0.8754 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.6046, allocations: 7.984 kB / 0.8754 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.6051, allocations: 126.8 kB / 0.8755 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.6054, allocations: 0.6848 MB / 0.8762 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.926e-05/0.6055, allocations: 8.188 kB / 0.8762 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.6056, allocations: 11.38 kB / 0.8762 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of SimCode: time 2.1e-07/0.6056, allocations: 0 / 0.8762 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of Templates: time 0.002644/0.6082, allocations: 0.659 MB / 0.8769 GB, free: 8.941 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)