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.831/0.831, allocations: 141.8 MB / 149.3 MB, free: 9.191 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.0009688/0.0009688, allocations: 184.9 kB / 182.2 MB, free: 9.438 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.354/1.354, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009338/0.0009342, allocations: 88.09 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001859/0.001859, allocations: 281.7 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.978e-05/1.981e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3656, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.4955, allocations: 108.2 MB / 0.863 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.4958, allocations: 93.42 kB / 0.8631 GB, free: 3.586 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005214/0.501, allocations: 1.85 MB / 0.8649 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.453e-06/0.501, allocations: 0 / 0.8649 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.501, allocations: 8 kB / 0.8649 GB, free: 1.727 MB / 0.5261 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.0002686/0.5013, allocations: 322.5 kB / 0.8652 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.5014, allocations: 12.03 kB / 0.8653 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.5015, allocations: 7.984 kB / 0.8653 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.553e-05/0.5016, allocations: 171.1 kB / 0.8654 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.5016, allocations: 7.891 kB / 0.8654 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.5016, allocations: 0 / 0.8654 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.183e-05/0.5017, allocations: 15.98 kB / 0.8654 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.188e-05/0.5018, allocations: 41.69 kB / 0.8655 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.5018, allocations: 0 / 0.8655 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.5018, allocations: 0 / 0.8655 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5018, allocations: 0 / 0.8655 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.502, allocations: 130.2 kB / 0.8656 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.079e-05/0.5021, allocations: 42.62 kB / 0.8657 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/0.5021, allocations: 20.98 kB / 0.8657 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.5021, allocations: 11.95 kB / 0.8657 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.5022, allocations: 38.5 kB / 0.8657 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.5022, allocations: 0 / 0.8657 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.00195/0.5041, allocations: 479 kB / 0.8662 GB, free: 260 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.5042, allocations: 51.41 kB / 0.8662 GB, free: 196 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.594e-05/0.5042, allocations: 85 kB / 0.8663 GB, free: 104 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.5042, allocations: 25.7 kB / 0.8663 GB, free: 72 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.5043, allocations: 80.14 kB / 0.8664 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.5043, allocations: 27.64 kB / 0.8664 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-06/0.5043, allocations: 3.938 kB / 0.8664 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5044, allocations: 318.8 kB / 0.8667 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.783e-05/0.5045, allocations: 16 kB / 0.8668 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.73e-05/0.5045, allocations: 24 kB / 0.8668 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.596e-05/0.5046, allocations: 23.98 kB / 0.8668 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.5046, allocations: 0 / 0.8668 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001286/0.5047, allocations: 85.53 kB / 0.8669 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5047, allocations: 11.95 kB / 0.8669 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5047, allocations: 0 / 0.8669 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.5048, allocations: 0 / 0.8669 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.5049, allocations: 15.98 kB / 0.8669 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.5049, allocations: 4 kB / 0.8669 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.275e-05/0.505, allocations: 0 / 0.8669 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.505, allocations: 4 kB / 0.8669 GB, free: 15.45 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 6.985e-05/0.5051, allocations: 104.9 kB / 0.867 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.5051, allocations: 0 / 0.867 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.5052, allocations: 16.36 kB / 0.867 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5052, allocations: 4 kB / 0.867 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5052, allocations: 0 / 0.867 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.5052, allocations: 0 / 0.867 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.5053, allocations: 156.4 kB / 0.8672 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5053, allocations: 0 / 0.8672 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.5055, allocations: 19.98 kB / 0.8672 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5055, allocations: 3.938 kB / 0.8672 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.5055, allocations: 0 / 0.8672 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5055, allocations: 3.953 kB / 0.8672 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.5055, allocations: 7.75 kB / 0.8672 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.5057, allocations: 129 kB / 0.8673 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.5058, allocations: 85.11 kB / 0.8674 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.5058, allocations: 7.984 kB / 0.8674 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.5059, allocations: 4 kB / 0.8674 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.5059, allocations: 3.953 kB / 0.8674 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.5059, allocations: 4 kB / 0.8674 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.904e-05/0.506, allocations: 79.28 kB / 0.8675 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.506, allocations: 3.938 kB / 0.8675 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001984/0.5062, allocations: 8 kB / 0.8675 GB, free: 14.74 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.0001356/0.5063, allocations: 115.2 kB / 0.8676 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.5065, allocations: 51.94 kB / 0.8677 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5065, allocations: 0 / 0.8677 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.559e-05/0.5065, allocations: 28 kB / 0.8677 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.5067, allocations: 4.656 kB / 0.8677 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.5071, allocations: 115.7 kB / 0.8678 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.5074, allocations: 0.6846 MB / 0.8685 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.5075, allocations: 8.188 kB / 0.8685 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.5075, allocations: 15.38 kB / 0.8685 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of SimCode: time 3.9e-07/0.5075, allocations: 0 / 0.8685 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of Templates: time 0.002567/0.5101, allocations: 0.6427 MB / 0.8692 GB, free: 13.06 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)